I’m currently trying to have multiple docker container installed with erpnext on the same server, I’ve read quit a few post, but none of them seeems to be working. The docker-compose branch from ianneub doesnt work either.
Any ideas on how should i implement this with erpnext on different port through nginx or different domains ?
Thanks for your advice, but i already have a docker erp container runs on ubuntu. What im trying to do it having multiple container run in one server at the sme time. I believe i have to use some sort of reverse proxy and change the config file for nginx.
Hi @RWEMA_Aimable
Mind if I ask how this process works? I actually dont know much about reverse proxy.
After I setup another container for reverse proxy, how should i change up the config file in my other two erpnext containers? or should the “docker run” command be different?
Basically you access your instances using wildcard subdomains, for example erpnext1.local, erpnext2.local, … erpnextN.local.
You will need to launch N erpnext instances, all exposing port 80 but don’t publish it, this will be the proxy’s job.
Each instance should have and ENV variable - VIRTUAL_HOST=erpnextN.local
Of course you need to point you subdomain to your server IP.
But can’t you just use multisite feature to do the same?