maskingmasking / docker-compose.yml
zombee11's picture
Upload 20 files
4de67a0 verified
Raw
History Blame Contribute Delete
442 Bytes
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