File size: 881 Bytes
c62f303
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ce03c87
 
8dd7c3c
 
 
 
40acccd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
version: '3.8'

services:
  openai-to-gemini:
    build:
      context: .
      dockerfile: Dockerfile
    ports:
      # Map host port 8050 to container port 7860 (for Hugging Face compatibility)
      - "8050:7860"
    volumes:
      - ./credentials:/app/credentials
    environment:
      # This is kept for backward compatibility but our app now primarily uses the credential manager
      - GOOGLE_APPLICATION_CREDENTIALS=/app/credentials/service-account.json
      # 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