version: "3.9" services: spelling-app: build: context: . dockerfile: Dockerfile image: ghcr.io/nmemmert/spelling:1.1.0 container_name: spelling-app ports: - "3000:3000" volumes: - ./data:/app/data environment: - NODE_ENV=production restart: unless-stopped healthcheck: test: ["CMD", "node", "-e", "require('http').get('http://localhost:3000/health', res => res.statusCode === 200 ? process.exit(0) : process.exit(1))"] interval: 30s timeout: 10s retries: 3 start_period: 10s