Spaces:
Running
Running
File size: 730 Bytes
c62f303 93e5da8 c62f303 ce03c87 8dd7c3c 93e5da8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
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
|