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.
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!
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.
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!
Best,
Bobby