Flask-MongoDB-Docker
Built With
Installation
-
Build and run
docker-compose build docker-compose up
-
Remove or Stop
docker-compose down docker-compose down -v [will remove volumes]
-
Access in Browser
http://localhost:80
-
Test in cli
curl --header "Content-Type: application/json" \
--request POST \
--data '{"title":"xyz","desc":"xyz"}' \
http://localhost:3000/