How to deploy multiple containers to my droplet automatically?

Let’s say I’ve uploaded multiple images to Container Registry, now I want to deploy them connected into a single network (imagine docker compose), is that possible?

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.

Hi there,

Indeed using docker-compose is one way to go, you would be able to build a single docker-compose file and then run docker-compose up -d to pull up the new images.

Another option would be to use Nginx as described in this tutorial here:

A third option would be to use the DigitalOcean App Platform which automates the whole process for you so that you don’t have to do any server configuration. You will be able to deploy your containers by using images directly from DockerHub:

Best, Bobby