version: "3.9" services: api: build: . ports: - "8000:8000" environment: - API_KEYS=demo-key-12345,prod-key-replace-me - MASK_FILE_TTL=300 - MASK_STORE_DIR=/tmp/aadhaar_masked volumes: - /tmp/aadhaar_masked:/tmp/aadhaar_masked restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8000/health"] interval: 30s timeout: 5s retries: 3