Spaces:
Running
Running
Download docker-compose.yml from pranaysuyash/shopstack: direct link, hf CLI and curl.
- Browser
- Download file 873 Bytes
-
https://huggingface.co/spaces/pranaysuyash/shopstack/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/pranaysuyash/shopstack/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/pranaysuyash/shopstack/resolve/main/docker-compose.yml
873 Bytes
| version: "3.9" | |
| services: | |
| shopstack: | |
| build: | |
| context: . | |
| target: runtime | |
| container_name: shopstack | |
| ports: | |
| - "7860:7860" | |
| volumes: | |
| # Persist SQLite database across container restarts | |
| - shopstack_data:/app/data | |
| environment: | |
| # Run with mock providers by default (no AI deps needed) | |
| - SHOPSTACK_OFF_THE_GRID=true | |
| # Uncomment and set your API keys for cloud-backed AI features: | |
| # - SHOPSTACK_HF_API_KEY=hf_xxx | |
| # - SHOPSTACK_PLANNER_BACKEND=huggingface | |
| # - SHOPSTACK_OPENAI_API_KEY=sk-xxx | |
| # - SHOPSTACK_PLANNER_BACKEND=openai | |
| restart: unless-stopped | |
| healthcheck: | |
| test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:7860')"] | |
| interval: 30s | |
| timeout: 5s | |
| retries: 3 | |
| start_period: 10s | |
| volumes: | |
| shopstack_data: | |