Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 587 Bytes

README.md

File metadata and controls

28 lines (23 loc) · 587 Bytes

visit-counter-webapp

Simple website visit counter with NGINX proxy -> Flask -> {redis,postgres} and containerized with Docker.

For demo, clone the repo and select one of below Modes

$ git clone https://github.com/vishnuhd/visit-counter-webapp.git   
$ cd visit-counter-webapp   

For Docker Compose Mode

$ docker-compose up   

For Docker Swarm Mode

$ docker stack deploy --compose-file docker-stack.yml mywebapp   

For Kubernetes Deployment Mode

$ kubectl create -f k8-deployment   

OR

$ kubectl create -f k8-specifications/