Public | Automated Build

Last pushed: 10 months ago
Short Description
Flask demo app served by uwsgi and Nginx.
Full Description

This image is a boilerplate for any Flask application, pages are served by uwsgi and Nginx.

On Docker host run: docker run -d -p 80:80 p0bailey/docker-flask

On Docker machine run: docker run -d -p 80:80 p0bailey/docker-flask

Docker compose: docker-compose up -d

Source code: https://github.com/p0bailey/docker-flask

DockerHub: https://hub.docker.com/r/p0bailey/docker-flask/

Docker Pull Command
Owner
p0bailey
Source Repository

Comments (2)
aurigadl
2 years ago

when do i run the container with volumen, the supervisor show this "too many start retries too quickly"
I am try to run container
$docker run -d -p 80:80 --name test -v .:/var/www/app p0bailey/docker-flask

hamx0r
2 years ago

Thanks for putting this together. Would you recommend users replace the contents of /var/www/app or reconfigure Nginx to use a different directory? I ran into problems reconfiguring (uwsgi.sock failed (111: Connection refused) while connecting to upstream, client:), so replacing contents seems the easiest option, though not quite as clean i think.