Download docker-compose.yml from jlshu/vproxy: direct link, hf CLI and curl.
- Browser
- Download file 694 Bytes
-
https://huggingface.co/spaces/jlshu/vproxy/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/jlshu/vproxy/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/jlshu/vproxy/resolve/main/docker-compose.yml
694 Bytes
| services: | |
| aistudio-api: | |
| build: . | |
| container_name: aistudio-api | |
| restart: unless-stopped | |
| ports: | |
| - "8080:8080" # API server | |
| # - "9222:9222" # Optional: expose only when debugging browser | |
| volumes: | |
| - ./data:/app/data # Account data persistence | |
| - ./.env:/app/.env:ro # Environment config (read-only) | |
| environment: | |
| - AISTUDIO_PORT=8080 | |
| - AISTUDIO_BROWSER_PORT=9222 | |
| - AISTUDIO_BROWSER_HEADLESS=1 | |
| - AISTUDIO_ACCOUNTS_DIR=/app/data/accounts | |
| healthcheck: | |
| test: ["CMD", "curl", "-f", "http://localhost:8080/v1beta/models"] | |
| interval: 30s | |
| timeout: 10s | |
| start_period: 10s | |
| retries: 3 | |