docker_deep_dive/ddd-book/swarm-app
2024-11-02 15:32:43 +03:00
..
app Docker deep dive book materials 2024-11-02 15:32:43 +03:00
.DS_Store Docker deep dive book materials 2024-11-02 15:32:43 +03:00
compose.yaml Docker deep dive book materials 2024-11-02 15:32:43 +03:00
Dockerfile Docker deep dive book materials 2024-11-02 15:32:43 +03:00
README.md Docker deep dive book materials 2024-11-02 15:32:43 +03:00
requirements.txt Docker deep dive book materials 2024-11-02 15:32:43 +03:00

Simple counter-app for demonstrating Docker Compose

Flask app that counts page refreshes in Redis backend and displays the name of the container that services each request.

Used in:

  • Docker Deep Dive book 2023 edition

Pre-built image: tag: swarm-app

v2 app

The swarm-appv2 tag was built by making two changes to the app.

Changing the image referenced in index.html from image.png to wasm.ong and changing the text.

Changing the CSS to:

header {
  background-color: #5a2d8c;