Advice Needed for Docker Compose Configuration with Redmine and NGINX

0
8
Asked By TechieTurtle42 On

Hey everyone! I'm looking for some guidance on how to properly set up my Docker Compose configuration for deploying an internal web app using Redmine. We have around 1000 users, though not all will be using it at the same time. Currently, my setup includes a `compose.yaml` file for my Redmine container, a MariaDB server running directly on the host (not in a container), and a 30 GB bind mount for attachments. I'm also planning to run NGINX, but I'm unsure if I should install it as a service on the host machine or include it as a container within my Docker Compose file. Any insights would be greatly appreciated!

2 Answers

Answered By DockerDude81 On

It's generally better to run NGINX as a separate container and direct the traffic to your Redmine container. This way, everything stays within the Docker ecosystem and makes management easier.

Answered By ComposeNinja92 On

You should definitely include NGINX in your Docker Compose file. If you install it on the host, you're complicating things unnecessarily since you're already containerizing everything else. Plus, it helps avoid dependency issues later on.

TechieTurtle42 -

I went ahead and did that! But I still have MariaDB on the host as a service. What are your thoughts on that? I've heard it's better to have the database in a container.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.