File size: 709 Bytes
40acccd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
    restart: unless-stopped