Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

docker-flask-uwsgi

an ubuntu based docker container for uwsgi running a flask app

it expects to have a supervisord configuration in

conf/supervisord.conf

and the app source in

src/

the app can also be dynamically loaded by mounting it as a volume to /var/www/app

get the container

docker pull apierleoni/flask-uwsgi

launch the container

docker run -d -p 8008:8008  --name cttv_rest_api -v /path_to_code:/var/www/app apierleoni/flask-uwsgi

it will publish the service on port 8008 (or the one you specify).
check it is running at: http://localhost:8008

if you change the app code, reload it with:

touch /path_to_code/manage.py
Docker Pull Command
Owner
apierleoni
Source Repository

Comments (0)