-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
27 lines (26 loc) · 1012 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
27 lines (26 loc) · 1012 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
services:
cli-proxy:
image: eceasy/cli-proxy-api:latest
restart: unless-stopped
ports:
- '127.0.0.1:${CLIPROXY_PORT:-8317}:8317'
volumes:
- '${CLIPROXY_AUTH_DIR:-${HOME}/.cli-proxy-api}:/root/.cli-proxy-api'
- './cliproxyapi.conf:/CLIProxyAPI/config.yaml:ro'
command: ['./CLIProxyAPI', '-config', '/CLIProxyAPI/config.yaml']
bilingualsub:
build: .
image: bilingualsub:latest
restart: unless-stopped
ports:
- '${BILINGUALSUB_PORT:-7860}:7860'
environment:
GROQ_API_KEY: '${GROQ_API_KEY:?Set GROQ_API_KEY in .env or your shell}'
GEMINI_API_KEY: '${GEMINI_API_KEY:-}'
TRANSCRIBER_PROVIDER: '${TRANSCRIBER_PROVIDER:-groq}'
TRANSCRIBER_MODEL: '${TRANSCRIBER_MODEL:-whisper-large-v3-turbo}'
TRANSLATOR_MODEL: '${TRANSLATOR_MODEL:-openai:bilingualsub-gemini-flash}'
OPENAI_BASE_URL: 'http://cli-proxy:8317/v1'
OPENAI_API_KEY: 'bilingualsub-local' # pragma: allowlist secret
depends_on:
- cli-proxy