-
-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·40 lines (38 loc) · 1.35 KB
/
docker-compose.yml
File metadata and controls
executable file
·40 lines (38 loc) · 1.35 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
version: "3.9"
services:
web:
image: loredcast/filewizard:latest
build:
context: .
target: full-final # Change to 'full-final' or 'small-final' as needed
#env_file:
# - .env
environment:
- LOCAL_ONLY=True # set to False to enable OIDC auth (requires configuration in settings.yml)
- SECRET_KEY= # if using auth
- UPLOADS_DIR=/app/uploads # directory structure INSIDE the container, not on host
- PROCESSED_DIR=/app/processed
- OMP_NUM_THREADS=1
- DOWNLOAD_KOKORO_ON_STARTUP=true
#- TRANSCRIPTION_DEVICE=cpu # change to 'cuda' if GPU available
#- TRANSCRIPTION_COMPUTE_TYPE=int8 # change to 'float16' or 'int8_float16' if GPU available
#- TRANSCRIPTION_DEVICE_INDEX=0 # change if multiple GPUs available
#user: "1000:1000"
ports:
- "6969:8000"
volumes:
# Mount local directories and files into the container for persistence
- ./config:/app/config # you can copy settings.default.yml into here as settings.yml
- ./uploads_data:/app/uploads
- ./processed_data:/app/processed
# For CUDA builds, enable GPU access (uncomment below)
#deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: all
# capabilities: [gpu]
volumes:
uploads_data: {}
processed_data: {}