Download docker-compose.yml from gavinder/ai-decision-intelligence-platform: direct link, hf CLI and curl.
- Browser
- Download file 653 Bytes
-
https://huggingface.co/spaces/gavinder/ai-decision-intelligence-platform/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/gavinder/ai-decision-intelligence-platform/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/gavinder/ai-decision-intelligence-platform/resolve/main/docker-compose.yml
653 Bytes
| version: "3.9" | |
| services: | |
| db: | |
| image: postgres:16-alpine | |
| environment: | |
| POSTGRES_DB: decision_intelligence | |
| POSTGRES_USER: postgres | |
| POSTGRES_PASSWORD: postgres | |
| ports: | |
| - "5432:5432" | |
| volumes: | |
| - postgres_data:/var/lib/postgresql/data | |
| healthcheck: | |
| test: ["CMD-SHELL", "pg_isready -U postgres -d decision_intelligence"] | |
| interval: 10s | |
| timeout: 5s | |
| retries: 5 | |
| app: | |
| build: . | |
| env_file: | |
| - .env | |
| environment: | |
| PORT: 8000 | |
| ports: | |
| - "8000:8000" | |
| depends_on: | |
| db: | |
| condition: service_healthy | |
| volumes: | |
| - .:/app | |
| volumes: | |
| postgres_data: | |