Spaces:
Running on Zero
Running on Zero
Download docker-compose.yml from StavanShah01/grownxt-server: direct link, hf CLI and curl.
- Browser
- Download file 615 Bytes
-
https://huggingface.co/spaces/StavanShah01/grownxt-server/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/StavanShah01/grownxt-server/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/StavanShah01/grownxt-server/resolve/main/docker-compose.yml
615 Bytes
| version: '3.8' | |
| services: | |
| grownxt: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile | |
| container_name: grownxt-server | |
| restart: unless-stopped | |
| env_file: | |
| - .env | |
| environment: | |
| - PORT=7860 | |
| - INTERNAL_PORT=5000 | |
| - APP_MODE=gradio # Use 'gradio' for UI + Flask or 'caddy' for Caddy + Gunicorn | |
| - GROWNXT_OUTPUT_DIR=/app/output | |
| ports: | |
| - "7860:7860" # Gradio UI & Caddy Ingress | |
| - "5000:5000" # Internal Flask API (Optional) | |
| volumes: | |
| - grownxt_output:/app/output | |
| - grownxt_cache:/home/user/.cache | |
| volumes: | |
| grownxt_output: | |
| grownxt_cache: | |