version: '3.8' services: openhamclock: build: . container_name: openhamclock ports: - "3000:3000" environment: - NODE_ENV=production - PORT=3000 restart: unless-stopped healthcheck: test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/api/health"] interval: 30s timeout: 10s retries: 3 start_period: 10s # Uncomment to set timezone # environment: # - TZ=America/Denver # For development with hot reload: # docker compose -f docker-compose.dev.yml up