Spaces:
Sleeping
Sleeping
Download my-postgres/docker-compose.yml from SteGONZALEZ/technova-api: direct link, hf CLI and curl.
- Browser
- Download file 537 Bytes
-
https://huggingface.co/spaces/SteGONZALEZ/technova-api/resolve/main/my-postgres/docker-compose.yml
- Command line
-
hf download hf://spaces/SteGONZALEZ/technova-api/my-postgres/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/SteGONZALEZ/technova-api/resolve/main/my-postgres/docker-compose.yml
537 Bytes
| services: | |
| db: | |
| image: postgres:16 | |
| container_name: TechNovaPartners | |
| restart: unless-stopped | |
| environment: | |
| POSTGRES_USER: steph | |
| POSTGRES_PASSWORD: 151176 | |
| POSTGRES_DB: TechNovaPartners | |
| ports: | |
| - "5432:5432" | |
| volumes: | |
| - pgdata:/var/lib/postgresql/data | |
| volumes: | |
| pgdata: | |
| #instruction : docker compose -f my-postgres/docker-compose.yml up -d | |
| #docker ps | |
| # si pas -v garde les données même après l'arrêt du conteneur | |
| #instruction : docker-compose -f my-postgres/docker-compose.yml down | |