Spaces:
Sleeping
Sleeping
Download docker-compose.yml from Parsa2025AI/AuditAgent: direct link, hf CLI and curl.
- Browser
- Download file 723 Bytes
-
https://huggingface.co/spaces/Parsa2025AI/AuditAgent/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/Parsa2025AI/AuditAgent/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/Parsa2025AI/AuditAgent/resolve/main/docker-compose.yml
723 Bytes
| version: "3.9" | |
| services: | |
| api: | |
| build: | |
| context: ./backend | |
| dockerfile: Dockerfile | |
| container_name: smart_contract_auditor_api | |
| ports: | |
| - "8000:8000" | |
| environment: | |
| - HF_MODEL_ID=${HF_MODEL_ID:-} | |
| - HF_TOKEN=${HF_TOKEN:-} | |
| - USE_PATTERN_FALLBACK=true | |
| - MAX_NEW_TOKENS=300 | |
| - TEMPERATURE=0.7 | |
| volumes: | |
| - ./models:/app/models # mount local model weights (optional) | |
| restart: unless-stopped | |
| # Optional: serve the frontend locally | |
| frontend: | |
| image: nginx:alpine | |
| container_name: smart_contract_auditor_ui | |
| ports: | |
| - "3000:80" | |
| volumes: | |
| - ./frontend:/usr/share/nginx/html:ro | |
| depends_on: | |
| - api | |
| restart: unless-stopped | |