Hi I tried to create site using this command:
docker compose exec backend bench new-site mysite --mariadb-root-password 123 --admin-password admin123 --install-app erpnext
but the result is service “backend” is not running container #1
can someone help me?
check if backend container is running
restart backend container if it’s not running
check logs of backend container if it’s not restarting
you can use any other container with worker image to execute bench commands.
you have to pass --project-name <project-name>
or -p <project-name>
to docker compose
example:
docker compose -p my-project-erp exec backend bench new-site mysite --mariadb-root-password 123 --admin-password admin123 --install-app erpnext
1 Like