Multiple people working with docker in 1 droplet environment

My question is, I have a droplet environment. Here with my team, we write backend frontend and datapipline codes in the docker environment.I can’t understand is this. Who should do docker compose up ? When I adduser for each different person? Because if person a does this, people b and c cannot make changes in this compose in their own file. My second question is as follows. Since we are working in the same environment, let’s say the backend environment crashed for a while. Will the frontend not be able to work until the backend is up again? So what I want to do is, can everyone work in their own private docker compose file, even if they have only one docker compose.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
October 24, 2022

Hi there,

Such a multitenant setup would be a bit tricky, as you will not be able to have two containers running on the same port on the same Droplet.

I would personally have each user have their own development environment, and the production server would be managed by a hand full of people or an automated CI/CD pipeline which would make sure that there are no multiple containers running on the same port.

An alternative option is to go with Kubernetes, where each of your users could have a separate namespace, and that way you could isolate their containers.

Hope that this helps!



Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up