forked from travisvn/openai-edge-tts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
23 lines (23 loc) · 842 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
23 lines (23 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
services:
app:
container_name: openai-edge-tts
restart: unless-stopped
build:
context: .
args:
INSTALL_FFMPEG: ${INSTALL_FFMPEG_ARG:-false} # Controlled by env var or defaults to false
ports:
- '${PORT:-5050}:5050'
env_file:
- .env
environment: # optionally define in -e argument when running docker command
API_KEY: ${API_KEY:-your_api_key_here}
PORT: ${PORT:-5050}
DEFAULT_VOICE: ${DEFAULT_VOICE:-en-US-AvaNeural}
DEFAULT_RESPONSE_FORMAT: ${DEFAULT_RESPONSE_FORMAT:-mp3}
DEFAULT_SPEED: ${DEFAULT_SPEED:-1.0}
DEFAULT_LANGUAGE: ${DEFAULT_LANGUAGE:-en-US}
REQUIRE_API_KEY: ${REQUIRE_API_KEY:-True}
REMOVE_FILTER: ${REMOVE_FILTER:-False}
EXPAND_API: ${EXPAND_API:-True}
DETAILED_ERROR_LOGGING: ${DETAILED_ERROR_LOGGING:-True}