version: '3.8' services: openhamclock: build: . container_name: openhamclock ports: - "3000:3000" - "2237:2237/udp" # WSJT-X UDP — point WSJT-X to 127.0.0.1:2237 environment: - NODE_ENV=production - PORT=3000 # Uncomment and set your timezone (IANA format) # This ensures correct local time display, especially with privacy browsers # - TZ=America/New_York 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 # For development with hot reload: # docker compose -f docker-compose.dev.yml up