PyWaw#48 - Counter demo (SOA)
Simple redis counter to demonstrate docker containers composition #SOA
Demo requires the following dependencies:
- docker (1.5+)
- docker-compose (1.2+)
- checkout repo:
git clone https://github.com/azylinski/pywaw48-counter-soa-demo.git pywaw-48
- enter folder:
cd pywaw-48
- start docker daemon -
sudo docker -d
- build & run an app:
docker-compose up
- view: http://127.0.0.1:8888/
There are 3 routes prepared on front
service:
The first one will get current counter value. The other two, will increase redis key.