Download docker-compose.yml from noah33565/NoahsKI: direct link, hf CLI and curl.
- Browser
- Download file 788 Bytes
-
https://huggingface.co/spaces/noah33565/NoahsKI/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/noah33565/NoahsKI/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/noah33565/NoahsKI/resolve/main/docker-compose.yml
788 Bytes
| version: '3.8' | |
| services: | |
| noahski-autonomous: | |
| build: . | |
| container_name: noahski-learning | |
| ports: | |
| - "5000:5000" | |
| volumes: | |
| - ./data:/app/data | |
| - ./logs:/app/logs | |
| environment: | |
| - SERVER_HOST=0.0.0.0 | |
| - SERVER_PORT=5000 | |
| - DEBUG=false | |
| - MAX_RAM_USAGE_PERCENT=75.0 | |
| - MAX_CPU_USAGE_PERCENT=70.0 | |
| - IDLE_TIME_SECONDS=300 | |
| - MAX_KNOWLEDGE_ENTRIES=10000 | |
| restart: unless-stopped | |
| healthcheck: | |
| test: ["CMD", "curl", "-f", "http://localhost:5000/health"] | |
| interval: 30s | |
| timeout: 10s | |
| retries: 3 | |
| start_period: 40s | |
| deploy: | |
| resources: | |
| limits: | |
| cpus: '2.0' | |
| memory: 4G | |
| reservations: | |
| cpus: '0.5' | |
| memory: 1G | |
| volumes: | |
| data: | |
| logs: | |