Running 2 Flask Applications using Docker

Hi, I am trying to run two flask applications on a Ubuntu Server using Docker and Nginx but I am unable to. I’d like to stick with nginx at the moment since I know there are other options due to time constraints. This is the link to my project I did try to put together a docker-compose.yml file but I think my spacing is off or something. Any help on getting this running would be great Thanks!


Submit an 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 @raj350,

I recently created a quick demo on how to run multiple Docker containers on a single Droplet using Nginx reverse proxy, you can take a look at the answer here:

Let me know how it goes! Regards, Bobby