Spaces:
Sleeping
Sleeping
Download docker-compose.yml from h-murai/FedInsight: direct link, hf CLI and curl.
- Browser
- Download file 777 Bytes
-
https://huggingface.co/spaces/h-murai/FedInsight/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/h-murai/FedInsight/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/h-murai/FedInsight/resolve/main/docker-compose.yml
777 Bytes
| # Local PostgreSQL + pgvector for FedInsight. | |
| # | |
| # docker compose up -d # start the database | |
| # docker compose down # stop it (keeps data in the named volume) | |
| # docker compose down -v # stop and DELETE all data | |
| # | |
| # Connection defaults match .env.example: | |
| # postgresql://postgres:postgres@localhost:5432/fedinsight | |
| services: | |
| db: | |
| image: pgvector/pgvector:pg16 | |
| container_name: fedinsight-pg | |
| environment: | |
| POSTGRES_USER: postgres | |
| POSTGRES_PASSWORD: postgres | |
| POSTGRES_DB: fedinsight | |
| ports: | |
| - "5432:5432" | |
| volumes: | |
| - pgdata:/var/lib/postgresql/data | |
| healthcheck: | |
| test: ["CMD-SHELL", "pg_isready -U postgres -d fedinsight"] | |
| interval: 5s | |
| timeout: 5s | |
| retries: 10 | |
| volumes: | |
| pgdata: | |