Spaces:
Paused
Paused
Download docker-compose.yml from guoguozi0615/guoguo: direct link, hf CLI and curl.
- Browser
- Download file 730 Bytes
-
https://huggingface.co/spaces/guoguozi0615/guoguo/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/guoguozi0615/guoguo/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/guoguozi0615/guoguo/resolve/main/docker-compose.yml
730 Bytes
| version: '3.8' | |
| services: | |
| openai-to-gemini: | |
| image: ghcr.io/gzzhongqi/vertex2openai:latest | |
| container_name: vertex2openai | |
| ports: | |
| # Map host port 8050 to container port 7860 (for Hugging Face compatibility) | |
| - "8050:7860" | |
| volumes: | |
| - ./credentials:/app/credentials | |
| environment: | |
| # Directory where credential files are stored (used by credential manager) | |
| - CREDENTIALS_DIR=/app/credentials | |
| # API key for authentication (default: 123456) | |
| - API_KEY=123456 | |
| # Enable/disable fake streaming (default: false) | |
| - FAKE_STREAMING=false | |
| # Interval for fake streaming keep-alive messages (default: 1.0) | |
| - FAKE_STREAMING_INTERVAL=1.0 | |
| restart: unless-stopped | |