frappe / frappe_docker

Docker images for production and development setups of the Frappe framework and ERPNext
MIT License
1.52k stars 1.4k forks source link

fix: invalid nested interpolation (#1487) #1496

Closed deltasquare4 closed 1 month ago

deltasquare4 commented 1 month ago

Nested interpolation is not supported by docker (https://github.com/docker/cli/issues/4265). Changed the file so that it uses CUSTOM_TAG or ERPNEXT_VERSION if that's not available.

Fixes an issue where the compose file incorrectly throws an error below: (already reported in #1487)

invalid interpolation format for services.scheduler.image: "${ERPNEXT_VERSION:?No ERPNext version or tag set". You may need to escape any $ with another $.