404 page not found after installation

Hello,

After trying to install ERPNext on Docker by entering the following commands:

git clone https://github.com/frappe/frappe_docker
cd frappe_docker
cp example.env .env
docker-compose -f compose.yaml \
  -f overrides/compose.erpnext.yaml \
  -f overrides/compose.mariadb.yaml \
  -f overrides/compose.redis.yaml \
  -f overrides/compose.https.yaml \
  up -d

After running docker ps I get:

CONTAINER ID   IMAGE                             COMMAND                  CREATED       STATUS                 PORTS                                      NAMES
71e1b6093088   mariadb:10.6                      "docker-entrypoint.s…"   6 hours ago   Up 6 hours (healthy)   3306/tcp                                   frappe_docker_db_1
eb1f0e5e7dc4   traefik:2.5                       "/entrypoint.sh --pr…"   6 hours ago   Up 6 hours             0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp   frappe_docker_proxy_1
6119403b748d   frappe/frappe-socketio:v13.24.0   "docker-entrypoint.s…"   7 hours ago   Up 7 hours                                                        frappe_docker_websocket_1
7b819562b62c   frappe/erpnext-worker:v13.24.0    "bench worker --queu…"   7 hours ago   Up 7 hours                                                        frappe_docker_queue-short_1
542508f9b491   frappe/erpnext-worker:v13.24.0    "bench schedule"         7 hours ago   Up 7 hours                                                        frappe_docker_scheduler_1
24a39a7440f5   frappe/erpnext-worker:v13.24.0    "bench worker --queu…"   7 hours ago   Up 7 hours                                                        frappe_docker_queue-long_1
f22cfac3e978   frappe/erpnext-worker:v13.24.0    "/home/frappe/frappe…"   7 hours ago   Up 7 hours                                                        frappe_docker_backend_1
e00cb95d96f4   frappe/erpnext-worker:v13.24.0    "bench worker --queu…"   7 hours ago   Up 7 hours                                                        frappe_docker_queue-default_1
fd8bc973b45f   redis:6.2-alpine                  "docker-entrypoint.s…"   7 hours ago   Up 7 hours             6379/tcp                                   frappe_docker_redis_1

When I try to access the server by IP, I get:
404 page not found

One more thing, I would like to know when I wanna make changes environment, which variable is required to make ERPNExt works, and where I can enter the IP of my server in .env file.

Try installing supervisor. then access the ip directly

Follow this Issue/PR:

https://github.com/frappe/frappe_docker/pull/715

Not really possible or useful in containers.

For me, i installed erpnext on my ubuntu VM, after bench start command i try to access the portal with localhost:8000 but it was giving localhost not found and then i installed supervisor and tried access localhost and it was working.

I followed the instructions there but when I got to the following command:

docker compose --project-name traefik
–env-file ~/gitops/traefik.env
-f docs/compose/compose.traefik.yaml
-f docs/compose/compose.traefik-ssl.yaml up -d

I got:

stat /root/frappe_docker/docs/compose/compose.traefik.yaml: no such file or directory

try again. The PR was merged.