Browser co-op kitchen game: FastAPI + native WebSockets, server-authoritative 20 Hz simulation, in-memory anonymous lobbies, data-driven YAML levels, Canvas 2D vanilla ES-module client with locally authored SVG art and no external CDNs. .agents/PLAN.md records the LOCKED decisions; .agents/user_stories/ holds the 12 flow contracts; .agents/phases/todo/ breaks them into 14 sequential, test-gated phases (71 task files), each leaving the app launchable and the suite green. LLM-Generated: true
26 lines
655 B
YAML
26 lines
655 B
YAML
services:
|
|
app:
|
|
build:
|
|
context: .
|
|
dockerfile: Containerfile
|
|
image: undercooked:local
|
|
container_name: undercooked
|
|
ports:
|
|
- "8000:8000"
|
|
environment:
|
|
UNDERCOOKED_HOST: 0.0.0.0
|
|
UNDERCOOKED_PORT: "8000"
|
|
UNDERCOOKED_MAX_ROOMS: "200"
|
|
UNDERCOOKED_MAX_PLAYERS: "4"
|
|
UNDERCOOKED_LEVELS_DIR: /app/levels
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test:
|
|
- CMD
|
|
- python
|
|
- -c
|
|
- "import urllib.request,sys;sys.exit(0 if urllib.request.urlopen('http://127.0.0.1:8000/healthz',timeout=2).status==200 else 1)"
|
|
interval: 30s
|
|
timeout: 3s
|
|
retries: 3
|