services: game: build: . ports: - "8080:8080" restart: unless-stopped volumes: # background music: drop .mp3 files in ./music, no rebuild needed - ./music:/music:ro healthcheck: # distroless has no shell or curl, so the binary probes itself test: ["CMD", "/game", "-healthcheck"] interval: 30s timeout: 3s retries: 3