Spaces:
Runtime error
Runtime error
Download docker-compose.dev.yml from yusufcalisir/Collaborative-Fraud-Intelligence-Simulator: direct link, hf CLI and curl.
- Browser
- Download file 1.39 kB
-
https://huggingface.co/spaces/yusufcalisir/Collaborative-Fraud-Intelligence-Simulator/resolve/main/docker-compose.dev.yml
- Command line
-
hf download hf://spaces/yusufcalisir/Collaborative-Fraud-Intelligence-Simulator/docker-compose.dev.yml
-
curl -L -o docker-compose.dev.yml https://huggingface.co/spaces/yusufcalisir/Collaborative-Fraud-Intelligence-Simulator/resolve/main/docker-compose.dev.yml
1.39 kB
| # ============================================================================== | |
| # Development Overrides — Hot-Reload, Live Volume Mounts, and Debug Configuration | |
| # Usage: | |
| # docker compose -f docker-compose.yml -f docker-compose.dev.yml up | |
| # ============================================================================== | |
| services: | |
| backend: | |
| build: | |
| context: . | |
| dockerfile: docker/Dockerfile.backend | |
| command: ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--reload"] | |
| environment: | |
| - APP_ENV=development | |
| - APP_DEBUG=true | |
| - LOG_LEVEL=DEBUG | |
| - DATABASE_TYPE=postgres | |
| - POSTGRES_HOST=postgres | |
| - REDIS_HOST=redis | |
| - KAFKA_BOOTSTRAP_SERVERS=kafka:9092 | |
| - KAFKA_ENABLED=true | |
| volumes: | |
| - ./backend:/app/backend | |
| - ./backend/storage/datasets:/app/storage/datasets:ro | |
| - ./backend/storage/datasets:/app/backend/storage/datasets:ro | |
| - logs-data:/app/logs | |
| ports: | |
| - "8000:8000" | |
| - "50051:50051" | |
| frontend: | |
| build: | |
| context: ./frontend | |
| dockerfile: Dockerfile.dev | |
| command: npm run dev -- --host 0.0.0.0 --port 3000 | |
| ports: | |
| - "3000:3000" | |
| volumes: | |
| - ./frontend:/app | |
| - /app/node_modules | |
| environment: | |
| - VITE_API_URL=http://localhost:8000 | |
| - VITE_WS_URL=ws://localhost:8000 | |
| volumes: | |
| storage-data: | |
| logs-data: | |