Spaces:
Running on Zero
Running on Zero
Download docker-compose.yml from ANL2001/Housing_Price_API: direct link, hf CLI and curl.
- Browser
- Download file 489 Bytes
-
https://huggingface.co/spaces/ANL2001/Housing_Price_API/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/ANL2001/Housing_Price_API/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/ANL2001/Housing_Price_API/resolve/main/docker-compose.yml
489 Bytes
| services: | |
| db: | |
| image: postgres:16-alpine | |
| environment: | |
| POSTGRES_USER: postgres | |
| POSTGRES_PASSWORD: postgres | |
| POSTGRES_DB: housing | |
| ports: | |
| - "5433:5432" | |
| volumes: | |
| - postgres_data:/var/lib/postgresql/data | |
| api: | |
| build: . | |
| ports: | |
| - "8080:8080" | |
| environment: | |
| DATABASE_URL: postgresql://postgres:postgres@db:5432/housing | |
| depends_on: | |
| - db | |
| volumes: | |
| - ./ml/artifacts:/app/ml/artifacts | |
| volumes: | |
| postgres_data: | |