add dockerignore

This commit is contained in:
Miloš Jovanović 2026-09-10 13:06:19 +02:00
parent c92c269275
commit 1516169ef7
3 changed files with 41 additions and 0 deletions

21
docker-compose.yml Normal file
View file

@ -0,0 +1,21 @@
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: