I’ve been using ERPNext from a script install for a long-time, and I need to install a new instance for a separate project. I once looked into the Docker install system back in '20 and both the instructions and example.env
has changed a lot from back then, and unfortunately I’m still as unversed in Docker usage as ever.
As per Containerized Production Setup, I did the following:
$ cp example.env .env
$ docker compose -f compose.yaml \
-f overrides/compose.erpnext.yaml \
-f overrides/compose.mariadb.yaml \
-f overrides/compose.redis.yaml \
config > ~/gitops/docker-compose.yml
$ sudo docker compose --project-name <project-name> -f ~/gitops/docker-compose.yml up -d
(I skipped compose.https.yaml
because I do not want Let’s Encrypt for a LAN-only server)
After this the documentation refers me to Site operations
to create my first site; here’s where I’m stuck. The commands here are docker-compose
, which I believe to be the legacy method related to the Docker Compose used before, not the current systems as done with docker compose
. Even so, I tried the comments and it complains it couldn’t find the backend container. What do I do next?