forked from datarhei/restreamer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
57 lines (54 loc) · 1.17 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
version: "3"
services:
restreamer:
image: datarhei/restreamer
container_name: restreamer
ports:
- 1935:1935
- 8080:8080
networks:
- frontend
volumes:
- "~/db:/restreamer/db"
environment:
- RS_USERNAME=admin
- RS_PASSWORD=datarhei
- RS_LOGLEVEL=4
- RS_TIMEZONE=Europe/Berlin
- RS_SNAPSHOT_INTERVAL=1m
deploy:
replicas: 1
restart_policy:
condition: any
delay: 5s
window: 10s
fblive:
image: dweomer/stunnel
container_name: fblive
expose:
- 1935
networks:
- frontend
restart: always
environment:
- STUNNEL_SERVICE=fb-live
- STUNNEL_CLIENT=yes
- STUNNEL_ACCEPT=1935
- STUNNEL_CONNECT=live-api-s.facebook.com:443
- STUNNEL_VERIFY_CHAIN=NO
https-portal:
image: steveltn/https-portal:1
container_name: https-portal
ports:
- 80:80
- 443:443
restart: always
networks:
- frontend
environment:
DOMAINS: localhost -> http://restreamer:8080
STAGE: local
# DOMAINS: yourdomain.com -> http://restreamer:8080
# STAGE: production
networks:
frontend: