-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml
49 lines (41 loc) · 1020 Bytes
/
docker-compose.yaml
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
version: '2'
volumes:
# HLS playlist and video segments store
video-data: {}
# Sender application bundle volume
sender-dist: {}
# Receiver application bundle volume
receiver-dist: {}
# Backend binaries
streamer-dist: {}
services:
web:
build: frontend/server
volumes:
# Video content
- 'video-data:/data/:ro'
# Sender app
- 'sender-dist:/sender/dist/:ro'
# Receiver app
- 'receiver-dist:/receiver/dist/:ro'
restart: always
streamer:
build: streamer
volumes:
# Binaries
- 'streamer-dist:/streamer:ro'
# Video content
- 'video-data:/data/video'
environment:
DATA_DIRECTORY: '/data/video'
INDEX_FILE_NAME: 'index.m3u8'
TWITCH_CLIENT_ID: '${TWITCH_CLIENT_ID}'
STREAM_INFO_TIMEOUT: 30
PROXY_TIMEOUT: 60
TS_SEGMENT_LENGTH: 4
TS_SEGMENT_COUNT: 4
restart: always
irc-relay:
image: globidocker/twitch-irc
command: none 'twitch-irc-websocket'
restart: always