Ssibrahimbas visits
A demo project that automatically restarts with a trio of docker, redis and go and transmits page visits.
Usage
$ docker-compose up
Step One:
visit to this address:
http://localhost:8081
Your result should be:
0
Step Two:
visit to this address:
http://localhost:8081
Your result should be:
1
Step Three:
visit to this address:
http://localhost:8081/stop
This request stops the application.
Step Four:
visit to this address:
http://localhost:8081
Your result should be:
0
The visit count reset because docker-compose restarts the app when app kill.
Look up docker-compose.yml:6