Spaces:
Runtime error
Runtime error
Download docker-compose.yml from lifedebugger/event-booking-api: direct link, hf CLI and curl.
- Browser
- Download file 692 Bytes
-
https://huggingface.co/spaces/lifedebugger/event-booking-api/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/lifedebugger/event-booking-api/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/lifedebugger/event-booking-api/resolve/main/docker-compose.yml
692 Bytes
| # Local stack: API + PostgreSQL. For the QA environment the API runs on | |
| # Hugging Face Spaces and the database is Supabase. | |
| services: | |
| db: | |
| image: postgres:16 | |
| environment: | |
| POSTGRES_PASSWORD: postgres | |
| POSTGRES_DB: booking | |
| ports: ["5432:5432"] | |
| healthcheck: | |
| test: ["CMD-SHELL", "pg_isready -U postgres"] | |
| interval: 2s | |
| retries: 30 | |
| api: | |
| build: . | |
| depends_on: | |
| db: { condition: service_healthy } | |
| environment: | |
| DB_HOST: db | |
| DB_PORT: "5432" | |
| DB_USER: postgres | |
| DB_PASSWORD: postgres | |
| DB_NAME: booking | |
| DB_SSLMODE: disable | |
| MOCKPAY_LATENCY_MS: "100" | |
| ports: ["8080:7860"] | |