Report this

What is the reason for this report?

Running 2 Flask Applications using Docker

Posted on February 25, 2020

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 https://github.com/raider34/flask. 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!



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 @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:

https://www.digitalocean.com/community/questions/how-to-host-multiple-docker-containers-on-a-single-droplet-with-nginx-reverse-proxy

Let me know how it goes! Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.