Spaces:
Sleeping
Sleeping
| services: | |
| app: | |
| build: . | |
| ports: | |
| # Container always listens on 7860 (matches HuggingFace Space | |
| # app_port). Host port is overridable via CCAI_HOST_PORT in .env | |
| # or the environment so local devs can sidestep port conflicts. | |
| - "${CCAI_HOST_PORT:-7860}:7860" | |
| env_file: | |
| # Optional cross-project secrets file (set SHARED_ENV_FILE in shell). | |
| - path: ${SHARED_ENV_FILE} | |
| required: false | |
| - .env | |
| environment: | |
| CORS_ORIGINS: "http://localhost:7860,http://localhost:3000" | |
| HF_RATE_LIMIT_DAILY: "30" | |
| restart: unless-stopped | |