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
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
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.