-
Notifications
You must be signed in to change notification settings - Fork 43
/
docker-compose.yml
90 lines (88 loc) · 2.19 KB
/
docker-compose.yml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
####################################################
# Not production ready, only for local development #
####################################################
version: "3.8"
services:
tum-live:
container_name: tum-live
depends_on:
- db
build: .
ports:
- "8081:8081"
volumes:
- ./config.yaml:/etc/TUM-Live/config.yaml
- ./branding/branding.yaml:/etc/TUM-Live/branding.yaml
- mass:/mass
restart: always
environment:
- DBHOST=db
- TZ=Europe/Berlin
worker:
container_name: tum-live-worker
depends_on:
- tum-live
#- vod-service # Omitted for local development due to size. Comment out to use voice-service
build: worker
platform: linux/amd64
environment:
- Token=abc
- Host=worker
- MainBase=tum-live
- VodURLTemplate=http://localhost:8089/vod/%s.mp4/playlist.m3u8
- LrzUploadUrl=http://vod-service:8089
- DEBUG-MODE=true
volumes:
- recordings:/recordings
- mass:/mass
edge:
container_name: tum-live-edge
depends_on:
- tum-live
build: worker/edge
environment:
- VOD_DIR=/vod
- MAIN_INSTANCE=http://tum-live:8081
- ADMIN_TOKEN=123
ports:
- "8089:8089"
volumes:
- recordings:/recordings
- vod:/vod
vod-service:
container_name: tum-live-vod-service
depends_on:
- tum-live
build: vod-service
environment:
- OUTPUT_DIR=/vod
volumes:
- vod:/vod
db:
container_name: mariadb_container
image: mariadb
environment:
MYSQL_ROOT_USER: root
MYSQL_ROOT_PASSWORD: example
TZ: Europe/Berlin
command: --init-file /data/application/init.sql
volumes:
- ./init.sql:/data/application/init.sql
- mariadb-data:/var/lib/mysql
restart: always
# Omitted for local development due to size. Comment out to use voice-service
# voice-service:
# container_name: tum-live-voice-service
# image: ghcr.io/tum-dev/tum-live-voice-service:latest
# environment:
# - TRANSCRIBER=whisper
# - WHISPER_MODEL=tiny
# - MAX_WORKERS=10
# - DEBUG=1
# volumes:
# - mass:/mass
volumes:
recordings:
mass:
vod:
mariadb-data: