feat: add admin console, Redis broker and chaos lab for training demo

This commit is contained in:
Jonas Kaninda
2026-09-30 12:17:14 +02:00
parent bd1b37393a
commit bc89695355
22 changed files with 2551 additions and 171 deletions
+10 -2
View File
@@ -1,5 +1,5 @@
# Local development: Postgres + the app. Mirrors what Miabi wires up for you
# (a managed Postgres attached to the app via DATABASE_URL).
# Local development: Postgres + Redis + the app. Mirrors what Miabi wires up
# for you (managed databases attached to the app via env vars).
services:
db:
image: postgres:17-alpine
@@ -17,14 +17,22 @@ services:
volumes:
- db-data:/var/lib/postgresql/data
redis:
image: redis:7-alpine
app:
build: .
environment:
PORT: 8080
DATABASE_URL: postgres://postgres:postgres@db:5432/guestbook?sslmode=disable
REDIS_URL: redis://redis:6379
ADMIN_TOKEN: ${ADMIN_TOKEN:-change-me}
DEBUG_ENDPOINTS: "true"
depends_on:
db:
condition: service_healthy
redis:
condition: service_started
ports:
- "8080:8080"