mirror of
https://github.com/Dokploy/templates.git
synced 2026-05-07 17:18:26 -05:00
[PR #774] [CLOSED] Update ERPNext version, database image, and site configuration #1302
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Dokploy/templates/pull/774
Author: @satyatulasijalandharch
Created: 4/7/2026
Status: ❌ Closed
Base:
canary← Head:erpnext-template-update-to-v16📝 Commits (10+)
68fc6b0feat: update ERPNext version to 16 in docker-compose and template files1559a40fix: update ping API URL in entrypoint command for site maintenance87a8572feat: update database image to mariadb 11.8 in docker-compose and template files12b052ffeat: add site volume configuration options to ERPNext templated4ade41fix: update ping API URL to use HTTPS in entrypoint command6827034feat: update ERPNext version to 16 in meta.json5efc639fix: update ping API command to use service URL in entrypoint script568fdf2fix: clear site volume configuration options in ERPNext template4049f9dfix: update website link to Frappe in meta.json2c494f7refactor: restructure environment variables and mounts in template.toml📊 Changes
3 files changed (+86 additions, -142 deletions)
View changed files
📝
blueprints/erpnext/docker-compose.yml(+64 -105)📝
blueprints/erpnext/template.toml(+19 -17)📝
meta.json(+3 -20)📄 Description
This pull request updates the ERPNext deployment configuration to use newer versions of ERPNext and MariaDB, and introduces additional environment variables for site volume configuration. The most important changes are grouped below:
Version Upgrades:
version-16instead ofversion-15in bothdocker-compose.ymlandtemplate.toml. [1] [2]11.8(with the option to override via theDB_IMAGEenvironment variable) instead of the hardcodedmariadb:10.6. [1] [2]Configuration Improvements:
frontendfor improved security when pinging the site.SITE_VOLUME_TYPE,SITE_VOLUME_OPTS, andSITE_VOLUME_DEV.Checklist
Before submitting this PR, please make sure that:
Greptile Summary
This PR upgrades ERPNext to
version-16, makes the MariaDB image overridable viaDB_IMAGE(defaulting tomariadb:11.8), and introduces site volume configuration env vars. Two P1 issues need attention before merging:exit 0is always reached and the actualbench migratecommands are silently skipped.SITE_VOLUME_DEV=/${main_domain}/sitespoints to an unusual host path (e.g./example.com/sites) that won't exist or be created automatically, causing all services to fail on a fresh deployment.Confidence Score: 4/5
Not safe to merge as-is; two P1 defects can silently skip database migrations and break all services on fresh deployments.
The bind mount path issue and the HTTPS health check / shell logic bug are both present defects on the primary deployment path.
blueprints/erpnext/docker-compose.yml (migration health check shell logic, sites volume missing driver) and blueprints/erpnext/template.toml (SITE_VOLUME_DEV path)
Reviews (1): Last reviewed commit: "fix: update ping API URL to use HTTPS in..." | Re-trigger Greptile
(2/5) Greptile learns from your feedback when you react with thumbs up/down!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.