Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.03 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.03 KB

PyWaw#48 - Counter demo (SOA)

Simple redis counter to demonstrate docker containers composition #SOA

Install dependencies

Demo requires the following dependencies:

  • docker (1.5+)
  • docker-compose (1.2+)

Getting started

  • 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/

What's happening

There are 3 routes prepared on front service:

The first one will get current counter value. The other two, will increase redis key.

demo-schema

Contact details