Spaces:
Sleeping
Sleeping
| version: '3.9' | |
| services: | |
| ai-assistant: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile | |
| container_name: ai-dev-assistant | |
| ports: | |
| - "7860:7860" | |
| volumes: | |
| - ./data:/home/user/app/data | |
| environment: | |
| - HF_TOKEN=${HF_TOKEN} | |
| restart: unless-stopped | |
| healthcheck: | |
| test: ["CMD", "curl", "-f", "http://localhost:7860/"] | |
| interval: 30s | |
| timeout: 20s | |
| retries: 5 |