Installing ERPNext with docker

to install ERPNext in docker, I followed all the steps mentioned in https://github.com/frappe/frappe_docker/blob/develop/docs/multi-bench.md

but after starting the docker services, it’s saying Not Found.

Can anyone help me to resolve/troubleshoot this issue?

Thanks In Advance.

when you install with docker it should ask you to modify the .env file. In that file you might put the site link. like erp.test.com if you can set that domain to your linked server it would be able to get through. Also check your 443 port open or not.

If you need to access the site by any ip refer pwd.yml

https://raw.githubusercontent.com/frappe/frappe_docker/develop/tests/pwd.yml

erpnext-nginx labels are changed to following:

services:
  ...
  erpnext-nginx:
    image: frappe/erpnext-nginx:${ERPNEXT_VERSION}
    restart: on-failure
    environment:
      - FRAPPE_PY=erpnext-python
      - FRAPPE_PY_PORT=8000
      - FRAPPE_SOCKETIO=frappe-socketio
      - SOCKETIO_PORT=9000
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.erpnext-nginx.rule=HostRegexp(`{catchall:.*}`)"
      - "traefik.http.middlewares.erpnext-nginx.headers.customrequestheaders.Host=mysite.localhost"
      - "traefik.http.routers.erpnext-nginx.middlewares=erpnext-nginx"
      - "traefik.http.routers.erpnext-nginx.entrypoints=web"
      - "traefik.http.services.erpnext-nginx.loadbalancer.server.port=80"
    volumes:
      - sites-vol:/var/www/html/sites:rw
      - assets-vol:/assets:rw
...

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.