Sign inSign up

extsoft/counting-hits

By extsoft

Updated almost 9 years ago

Demo app which counts page hits and uses Redis.

Image
0

991

extsoft/counting-hits repository overview

​The application counts how many time a page was open. It requires a Redis container.

Sample run:

docker network create ch
docker run -d --net=ch --name redis --rm redis:alpine 
docker run -d --net=ch -p 5000:5000 --rm extsoft/counting-hits

Try to open http://localhost:5000 and you would see something like I have been seen 1 times. My hostname is: 022c65acf46c .

Visit http://extsoft.pro/docker-swarm-example/ to get Swarm configuration example.

Tag summary

Content type

Image

Digest

Size

30.8 MB

Last updated

almost 9 years ago

docker pull extsoft/counting-hits