vertex / docker-compose.yml
guoguozi0615's picture
Update docker-compose.yml
7dc1176 verified
raw
history blame
816 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: 562464guo)
- 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
VERTEX_EXPRESS_API_KEY=AQ.Ab8RN6LrrnaEllaPwOv7StrHItQSr7fQSXSRdHnVhhXcQ5yNbw
restart: unless-stopped