Add microservices, web UI, and replay tooling
Some checks failed
ci / tests (push) Has been cancelled

This commit is contained in:
dan
2025-12-25 03:28:40 +03:00
commit 46a07f548b
72 changed files with 9142 additions and 0 deletions

72
docker-compose.dev.yml Normal file
View File

@@ -0,0 +1,72 @@
version: "3.9"
services:
db:
image: postgres:16-alpine
environment:
POSTGRES_USER: catan
POSTGRES_PASSWORD: catan
POSTGRES_DB: catan
ports:
- "5432:5432"
volumes:
- catan-db:/var/lib/postgresql/data
api:
build:
context: .
dockerfile: docker/api.Dockerfile
env_file: .env
ports:
- "8000:8000"
depends_on:
- db
- game
- ai
- analytics
game:
build:
context: .
dockerfile: docker/game.Dockerfile
env_file: .env
ports:
- "8001:8001"
depends_on:
- db
volumes:
- ./models:/models
ai:
build:
context: .
dockerfile: docker/ai.Dockerfile
env_file: .env
ports:
- "8002:8002"
depends_on:
- db
volumes:
- ./models:/models
analytics:
build:
context: .
dockerfile: docker/analytics.Dockerfile
env_file: .env
ports:
- "8003:8003"
depends_on:
- db
web:
build:
context: .
dockerfile: docker/web.Dockerfile
ports:
- "8080:80"
depends_on:
- api
volumes:
catan-db: