policylens-rag-api / docker-compose.yml
DEVJHAWAR11
sync: deploy to HuggingFace Space
5b7955a
raw
history blame contribute delete
457 Bytes
version: "3.9"
services:
rag-api:
build: .
container_name: policydecoder-rag
ports:
- "8000:8000"
env_file:
- .env
environment:
- PYTHONUNBUFFERED=1
volumes:
- /tmp/policydecoder_uploads:/tmp/policydecoder_uploads
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s