localhost:5000 -> ((nginx:80 -> socket -> uwsgi) + supervisord)
$ docker-compose up
Development server supports auto reload after every code change. a flask app derectly runs on localhost:5000.
$ python app/server.py
When you change the ini
files under etc
directory, copy it directly to the docker container so that you can save your build time.
$ docker cp app/etc/nginx.conf app:/etc/nginx/nginx.conf