You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a [Flask](http://flask.pocoo.org/) application running behind uwsgi server which is being loadbalanced by nginx, which is dockerized. Awesome!!
4
+
5
+
## How to run
6
+
7
+
1. Clone the repo `git clone https://github.com/codeasashu/python-nginx-docker.git`
8
+
2.`cd` into the repo directory. `cd python-nginx-docker`
9
+
3. Run `docker-compose build` and then `docker-compose up -d`
10
+
4. Enjoy the python app.
11
+
12
+
## Making changes
13
+
14
+
The code lives in `app` directory, which have this file called `server.py` - a simple flask application. Make changes there and see if it works
15
+
16
+
## TODO
17
+
1. SSL support
18
+
2. Live code reloads
19
+
3. Basic frontend to demonstrate static content loading via nginx
0 commit comments