Spaces:
Running
Running
Download docker-compose.yml from reputeradar/ioc-core: direct link, hf CLI and curl.
- Browser
- Download file 1.14 kB
-
https://huggingface.co/spaces/reputeradar/ioc-core/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/reputeradar/ioc-core/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/reputeradar/ioc-core/resolve/main/docker-compose.yml
1.14 kB
| services: | |
| ioc-core: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile | |
| container_name: ioc-core-api | |
| ports: | |
| - "8000:7860" | |
| environment: | |
| # API Keys (loaded from .env file) | |
| - VIRUS_TOTAL_API_KEY=${VIRUS_TOTAL_API_KEY} | |
| - ABUSE_IP_DB_API_KEY=${ABUSE_IP_DB_API_KEY} | |
| - URL_SCAN_API_KEY=${URL_SCAN_API_KEY:-} | |
| - ABUSE_CH_API_KEY=${ABUSE_CH_API_KEY:-} | |
| - OTX_API_KEY=${OTX_API_KEY:-} | |
| - HF_API_TOKEN=${HF_API_TOKEN:-} | |
| # Supabase Dashboard | |
| - SUPABASE_URL=${SUPABASE_URL:-} | |
| - SUPABASE_KEY=${SUPABASE_KEY:-} | |
| # Server Configuration | |
| - HOST=0.0.0.0 | |
| - PORT=8000 | |
| - WORKERS=${WORKERS:-2} | |
| # CORS Configuration | |
| - CORS_ORIGINS=${CORS_ORIGINS:-*} | |
| # Logging | |
| - LOG_LEVEL=${LOG_LEVEL:-INFO} | |
| env_file: | |
| - .env | |
| restart: unless-stopped | |
| healthcheck: | |
| test: [ "CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:7860/')" ] | |
| interval: 30s | |
| timeout: 10s | |
| start_period: 10s | |
| retries: 3 | |
| networks: | |
| - ioc-network | |
| networks: | |
| ioc-network: | |
| driver: bridge | |