Repository navigation
How to Deploy the Application Using Docker Compose with Nginx Reverse Proxy in Front #2671
Unanswered
thaopham18
asked this question in
Q&A
Replies: 1 comment
|
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. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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,
All reactions