doodleai / docker-compose.yml
alanoee's picture
Upload folder using huggingface_hub
346f830 verified
raw
history blame contribute delete
368 Bytes
services:
api:
build: .
ports:
- "8080:8080"
environment:
- AI_API_KEY=${AI_API_KEY:-dev-key}
volumes:
- ./model:/app/model:ro
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health", "-H", "x-api-key:${AI_API_KEY:-dev-key}"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s