Simple python flask application that counts page visits and adds records to the mongodb database.
docker build -t counter-app .
docker run --name counter-app -p 5000:5000 -e MONGODB_URL=mongodb://host:port counter-app
docker-compose up -d
Then open in your favourite browser http://localhost:5000
You can also find this image on docker hub.
To deploy in google cloud please check this repo
- Add tests
- Add CI