Spaces:
Running
Running
Download src/lib/postgresql/docker-compose.yaml from Leon4gr45/brain: direct link, hf CLI and curl.
- Browser
- Download file 879 Bytes
-
https://huggingface.co/spaces/Leon4gr45/brain/resolve/main/src/lib/postgresql/docker-compose.yaml
- Command line
-
hf download hf://spaces/Leon4gr45/brain/src/lib/postgresql/docker-compose.yaml
-
curl -L -o docker-compose.yaml https://huggingface.co/spaces/Leon4gr45/brain/resolve/main/src/lib/postgresql/docker-compose.yaml
879 Bytes
| services: | |
| postgres: | |
| image: pgvector/pgvector:pg16 | |
| container_name: postgres | |
| restart: always | |
| ports: | |
| - "5432:5432" | |
| environment: | |
| POSTGRES_USER: postgres | |
| POSTGRES_PASSWORD: password | |
| volumes: | |
| - postgres-data:/var/lib/postgresql/data | |
| healthcheck: | |
| test: ["CMD-SHELL", "pg_isready -U postgres -d brainapi"] | |
| interval: 5s | |
| timeout: 5s | |
| retries: 10 | |
| pgadmin: | |
| image: dpage/pgadmin4:latest | |
| container_name: pgadmin | |
| restart: always | |
| ports: | |
| - "8082:80" | |
| environment: | |
| PGADMIN_DEFAULT_EMAIL: admin@brainapi.local | |
| PGADMIN_DEFAULT_PASSWORD: admin | |
| PGADMIN_CONFIG_SERVER_MODE: "False" | |
| volumes: | |
| - pgadmin-data:/var/lib/pgadmin | |
| depends_on: | |
| postgres: | |
| condition: service_healthy | |
| volumes: | |
| postgres-data: | |
| driver: local | |
| pgadmin-data: | |
| driver: local | |