Mongoldb with a root user, a database owner and authentication enabled in config
347
Dockerfile docker-compose.yml
docker run --name flask-mongo -d -p 27017:27017 laztoum/mongo
A simple Docker and Docker Compose project. It can be used for flask with mongodb applications development.
Docker is required. You can either
docker-compose up (optionally include the -d option to detach it)
You can then change anything inside the flask project files and view the changes on http://localhost.either with
docker start | stop flask-mongo && docker start | stop flask-gunicorn-nginx ordocker-compose start|stop inside the folder containing docker-compose.yml
The mongo container has to start before the flask/gunicorn/nginx container.Content type
Image
Digest
Size
156.4 MB
Last updated
about 10 years ago
docker pull laztoum/mongo