Skip to content

How to Deploy the Application Using Docker Compose with Nginx Reverse Proxy in Front #881

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

Open
investlab opened this issue Apr 16, 2025 · 1 comment

Comments

@investlab
Copy link

investlab commented Apr 16, 2025

I am trying to set up the Docs application using Docker Compose, and I want to configure it to work with an external Nginx reverse proxy at the domain https://docs.eeee.com.

Here are the details of my setup:

I have configured Nginx to reverse proxy requests to the Docker container running the application.
The application is expected to be accessible via the specified domain.
However, I am facing some challenges:

There are many services involved, each with its own ports, which makes configuring Nginx quite complex.
The files in env.d are complicated and not very clear for configuration. For example, I am unsure about the purpose of port 8072 and what it is used for.
Could you please provide guidance on the following:

What specific configurations do I need to ensure in the docker-compose.yml file?
Are there any environment variables I need to set for the application to correctly handle the domain?
How should I configure Nginx to properly forward requests to the application running in Docker?
Thank you for your help!

Best regards,

@investlab investlab changed the title Setting Up the Application with Docker Compose and Nginx Reverse Proxy How to Deploy the Application Using Docker Compose with Nginx Reverse Proxy in Front Apr 16, 2025
@unteem
Copy link

unteem commented Apr 16, 2025

You can have a look at this PR: #855 there is an example with compose and nginx reverse proxy.

Let me know if you need some clarifications.

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

No branches or pull requests

2 participants