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 1 year 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

You can adapt if you understand this, https://github.com/frappe/frappe_docker/blob/main/docs/single-compose-setup.md#adaptation

Try port based https://github.com/frappe/frappe_docker/blob/main/docs/port-based-multi-tenancy.md and then reverse proxy ports.

revant avatar Oct 10 '24 07:10 revant

You can adapt if you understand this, https://github.com/frappe/frappe_docker/blob/main/docs/single-compose-setup.md#adaptation

Try port based https://github.com/frappe/frappe_docker/blob/main/docs/port-based-multi-tenancy.md and then reverse proxy ports.

Is it recommended to use pwd.yml in production?

mitexleo avatar Nov 21 '24 06:11 mitexleo

This issue has been automatically marked as stale. You have a week to explain why you believe this is an error.

github-actions[bot] avatar Jan 21 '25 00:01 github-actions[bot]

This issue has been automatically marked as stale. You have a week to explain why you believe this is an error.

'

DTEC2024 avatar Feb 26 '25 12:02 DTEC2024