-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
29 lines (27 loc) · 903 Bytes
/
docker-compose.yml
File metadata and controls
29 lines (27 loc) · 903 Bytes
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
services:
# Image to build and run the app
stream-webpage:
build: .
environment:
- FRAMERATE=${FRAMERATE:-60}
- LOG_FORMAT=${LOG_FORMAT:-json}
- LOG_LEVEL=${LOG_LEVEL:-debug}
- PORT=${PORT:-8080}
- STATUS_CRON_SCHEDULE=${STATUS_CRON_SCHEDULE}
- RESOLUTION=${RESOLUTION:-720p}
- RTMP_URL=${RTMP_URL:-rtmp://rtmp-server:1935/live/stream}
- TWITCH_CHANNEL=${TWITCH_CHANNEL}
- TWITCH_CLIENT_ID=${TWITCH_CLIENT_ID}
- TWITCH_CLIENT_SECRET=${TWITCH_CLIENT_SECRET}
- WEBPAGE_REFRESH_INTERVAL=${WEBPAGE_REFRESH_INTERVAL:-0}
- WEBPAGE_URL=${WEBPAGE_URL:-https://www.youtube.com/embed/xuCn8ux2gbs?autoplay=1&loop=1&playlist=xuCn8ux2gbs}
# Image to run unit tests in
test:
build:
context: .
target: base
# RTMP server for testing
rtmp-server:
image: tiangolo/nginx-rtmp
ports:
- "1935:1935"