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!
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
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