Try ERPNext Buy Support Partners Foundation

Running a local instance from docker?

is this just not a good idea? Referencing:

I’m trying to understand why, if I want to run ERPnext so that it’s available on localhost docker isn’t a good fit. Or at least, seemingly, requires configuration of traefik, as well as additional configurations.

Just looking for an overview of the problems here.

In case of production docker setup, it is configured to use dns multi tenancy:
https://frappeframework.com/docs/user/en/bench/guides/setup-multitenancy#dns-based-multitenancy

It needs Host or X-Frappe-Site-Name header to serve the site from multi tenant bench.

Try,

curl -H "Host: site.name" http://localhost

Traefik can be configured to pass these headers to erpnext.

1 Like