Try ERPNext Buy Support Partners Foundation

Expose dockerized instance to LAN

Currently 80 port is available for localhost only. Ngingx’s container doesn’t allow using EXPOSE neither in .yml nor inside the container. Ufw doesn’t work either. How can I expose port 80 to LAN?

Search https://github.com/frappe/frappe_docker/issues?q=is%3Aissue+bind+dns

Not simple.
You’ll need to setup dns server.

Leaving a solution for a development instance. It exposes the instance to the Internet as well (if you open ports).

Make your DNS service listening to Docker

Open or create /etc/NetworkManager/dnsmasq.d/docker-bridge.conf:

Add the following line (your docker0 network):

listen-address=172.17.0.1

Change DNS settings for Docker daemon

Create /etc/docker/daemon.json:

Add your network’s DNS server and fallback options (e.g. Google DNS):

{
    "dns": [ "172.17.0.1", "8.8.8.8", "8.8.8.4" ]
}

Then restart the docker service:

sudo service docker restart