Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running in a server with already installed nginx #1489

Open
iamshouvikmitra opened this issue Oct 8, 2024 · 2 comments
Open

Running in a server with already installed nginx #1489

iamshouvikmitra opened this issue Oct 8, 2024 · 2 comments
Labels

Comments

@iamshouvikmitra
Copy link

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!

@revant
Copy link
Collaborator

revant commented Oct 10, 2024

@mitexleo
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants