services: worker: build: . restart: unless-stopped environment: ST_API_KEY: ${ST_API_KEY} WEBHOOK_SECRET: ${WEBHOOK_SECRET} ELIGIBLE_APPOINTMENTS: ${ELIGIBLE_APPOINTMENTS} DB_PATH: /data/worker.db DRY_RUN: ${DRY_RUN:-} volumes: - worker-data:/data healthcheck: test: ["CMD", "wget", "-qO-", "http://localhost:8080/healthz"] interval: 30s timeout: 5s retries: 3 start_period: 120s volumes: worker-data: