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 UNDERCOOKED_STATIC_DIR: /app/app/static 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