Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/andrewrporter/flask-nginx-tutorial

Basic connection of flask and nginx via docker-compose
https://github.com/andrewrporter/flask-nginx-tutorial

docker docker-compose example flask gunicorn nginx python tutorial

Last synced: 22 days ago
JSON representation

Basic connection of flask and nginx via docker-compose

Awesome Lists containing this project

README

        

Connecting Flask and Gunicorn to Nginx with docker-compose
==========================================================

Quick tutorial on how to serve requests to Flask through Nginx.

This code is explained in detail in my YouTube video: https://www.youtube.com/watch?v=Vkqz2hK4fKg&t=1s

![overview](graphic.png)

Setup
=====

Install docker and docker-compose

- https://docs.docker.com/get-docker/
- https://docs.docker.com/compose/install/

Usage
=====

```
docker-compose up
```