| services: | |
| health-screener: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile | |
| args: | |
| - HF_TOKEN=${HF_TOKEN:-} | |
| container_name: village-health-screener | |
| ports: | |
| - "7860:7860" | |
| environment: | |
| - LOCAL_MODE=${LOCAL_MODE:-false} | |
| - MODAL_TOKEN_ID=${MODAL_TOKEN_ID:-} | |
| - MODAL_TOKEN_SECRET=${MODAL_TOKEN_SECRET:-} | |
| - PYTHONUNBUFFERED=1 | |
| env_file: | |
| - .env | |
| volumes: | |
| # Cache downloaded model weights (Nemotron, SmolVLM, MMS-TTS, Kokoro) across container instances | |
| - hf-cache-vol:/root/.cache/huggingface | |
| restart: unless-stopped | |
| volumes: | |
| hf-cache-vol: | |