Download docker-compose.yml from devrup404/SignalMod: direct link, hf CLI and curl.
- Browser
- Download file 809 Bytes
-
https://huggingface.co/spaces/devrup404/SignalMod/resolve/21e8095f146314dd87fce3a1f63b090cf54ec99d/docker-compose.yml
- Command line
-
hf download hf://spaces/devrup404/SignalMod@21e8095f146314dd87fce3a1f63b090cf54ec99d/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/devrup404/SignalMod/resolve/21e8095f146314dd87fce3a1f63b090cf54ec99d/docker-compose.yml
809 Bytes
| # youtube_hate_detector — FastAPI + React (single service) | |
| # Start: docker compose up --build | |
| # Stop: docker compose down | |
| name: youtube_hate_detector | |
| services: | |
| app: | |
| build: | |
| context: . | |
| args: | |
| # Production meta-stacking requires transformers + torch (INSTALL_HF=1) | |
| INSTALL_HF: ${INSTALL_HF:-1} | |
| image: youtube_hate_detector:latest | |
| container_name: youtube_hate_detector-app | |
| ports: | |
| - "8000:8000" | |
| environment: | |
| MODEL_NAME: "Meta-Feature Stacking (Production)" | |
| ENV: production | |
| YOUTUBE_API_KEY: ${YOUTUBE_API_KEY:-} | |
| NLTK_DATA: /app/nltk_data | |
| healthcheck: | |
| test: ["CMD", "curl", "-f", "http://localhost:8000/health"] | |
| interval: 10s | |
| timeout: 5s | |
| retries: 12 | |
| start_period: 60s | |
| restart: unless-stopped | |