I trying to setup the erpnext with the docker-compose, its succeeded but the website didn’t generate.
I used the option ( Setup ERPNext using containerized MariaDB and Redis with Letsencrypt certificates) which didn’t work.
then I added the proxy to the formula
the website return the message " This site can’t be reached"
also this one were included from the doc “add-custom-domain-using-traefik”, this is the frontend - labels in the docker-compose.yml
I try to walk the doc step by step, its now return an error:
ERROR: Invalid interpolation format for "image" option in service "x-backend-defaults": "frappe/frappe-worker:${FRAPPE_VERSION:?No Frappe version set}"
I return and start over on a fresh server, the same error return:
ERROR: Invalid interpolation format for "image" option in service "x-backend-defaults": "frappe/frappe-worker:${FRAPPE_VERSION:?No Frappe version set}"
then I try to build the docker-compose.yaml myself as below:
root@vmi708758:~/frappe_docker# docker-compose -f erpnext/docker-compose.yml up -d
ERROR: Version in "./erpnext/docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
Did you try accessing the website on the 8000 port first with no reverse proxy.
I recommend trying getting it working using http to begin with with no reverse proxy to keep things simple - just to make sure everything is working in a simple setup first.
After initiating a create new site command it does it take some time ~5 minutes for the website to get built.
If installing on VPS make sure the relavent ports are open.
I would like to thank you for your time and reply.
its been two days working on this, the update is that I started fresh server, and out of the box I’m stuck with this error:
root@vmi708758:~/frappe_docker# docker-compose -f compose.yaml -f overrides/compose.noproxy.yaml config > erpnext/docker-compose.yml
ERROR: Invalid interpolation format for "image" option in service "x-backend-defaults": "frappe/frappe-worker:${FRAPPE_VERSION:?No Frappe version set}"
this error is before the build, it on generating the docker-compose.yaml file