-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
88 lines (82 loc) · 2.13 KB
/
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
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
services:
chatbot:
build:
context: containers/chatbot/app
environment:
- TWITCH_CHANNELS=${TWITCH_CHANNELS}
- ALVEUS_CLIENT_ID=${ALVEUS_CLIENT_ID}
- ALVEUS_CLIENT_SECRET=${ALVEUS_CLIENT_SECRET}
- ALVEUS_TWITCH_ID=${ALVEUS_TWITCH_ID}
- ALVEUS_TOKEN_PATH=../tokens/tokens.json
- TWITCH_TOKEN_PATH=/tokens/tokens.json
- OBS_WS=${OBS_WS}
- OBS_KEY=
- OBS_WS_SPACE_CLOUD=ws://obs-cloud:12345
- OBS_KEY_SPACE_CLOUD=
- OBSBOT_HOST=localhost
- OBSBOT_PORT=12345
- AXIS_USERNAME=${AXIS_USERNAME:-alveus}
- AXIS_PASSWORD=${AXIS_PASSWORD:-secret}
- AXIS_GEORGIE_IP=axis-mock:6001
depends_on:
- obs-local
- obs-cloud
volumes:
- ./containers/chatbot/data:/home/node/app/src/data
- ./containers/chatbot/tokens:/home/node/app/tokens
cam-proxy:
image: bluenviron/mediamtx:latest-ffmpeg
build:
context: containers/cam-proxy
restart: always
environment:
- MTX_PROTOCOLS=tcp
ports:
- "8554:8554"
- "1935:1935"
- "8888:8888"
- "8889:8889"
- "8890:8890/udp"
- "8189:8189/udp"
- "9996:9996"
volumes:
- ./containers/cam-proxy/mediamtx.yml:/mediamtx.yml
- ./containers/cam-proxy/recordings:/recordings
cam:
image: bluenviron/mediamtx:latest-ffmpeg
build:
context: containers/cam
restart: always
volumes:
- ./containers/cam/mediamtx.yml:/mediamtx.yml
obs-local:
build: containers/obs-mock
environment:
- PORT=12345
expose:
- "12345"
obs-cloud:
build: containers/obs-mock
environment:
- PORT=12345
expose:
- "12345"
axis-mock:
build: containers/axis-mock
environment:
- PORT=6001
- AXIS_USERNAME=${AXIS_USERNAME:-alveus}
- AXIS_PASSWORD=${AXIS_PASSWORD:-secret}
expose:
- "6001"
clips-service:
build: containers/clips-service
environment:
- PORT=12000
- PROXY_URL=http://cam-proxy:9996
ports:
- "12000:12000"
expose:
- "12000"
volumes:
- ./containers/clips-service/public:/home/node/app/public