frappe_docker icon indicating copy to clipboard operation
frappe_docker copied to clipboard

Running in a server with already installed nginx

Open iamshouvikmitra opened this issue 4 months ago • 1 comments

Hi, I am trying to host frappe erpnext in a server which is already hosting a couple of other apps. I have nginx installed which occupies port 80 and 443, in turn proxies the traffic to apps running in the server at other ports.

While using the easy install script, I got the following error

Error response from daemon: driver failed programming external connectivity on endpoint frappe-proxy-1 (544c8dde843f40cb219f86d213433d41d464f4d0d24220c039fcf2e4508cbe60): Error starting userland proxy: listen tcp4 0.0.0.0:443: bind: address already in use
  Docker Compose failed, please check the container logs
 Command '['/usr/local/bin/docker', 'compose', '-p', 'frappe', '-f', '/home/xxx/frappe-compose.yml', 'up', '-d']' returned non-zero exit status 1. 

which makes complete sense. I wish to know if there is a way I can host frappe in the exisitng system and proxy the traffic from external nginx to frappe docker containers.

Thanks!

iamshouvikmitra avatar Oct 08 '24 07:10 iamshouvikmitra