forked from lnobach/nctalk-backend-cloud-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
72 lines (69 loc) · 1.97 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
version: "3"
services:
proxy:
image: lnobach/nginx-certbot
restart: unless-stopped
hostname: proxy
ports:
- 80:80
- 443:443
volumes:
- ${CONFIGDIR}/proxy:/etc/nginx/user.conf.d:ro
- ${CONFIGDIR}/letsencrypt:/etc/letsencrypt
environment:
- CERTBOT_EMAIL
networks:
spreedbackend:
spreedbackend:
restart: unless-stopped
hostname: spreedbackend
image: lnobach/nextcloud-spreed-signaling:0.2.0
expose:
- '8443'
volumes:
- ${CONFIGDIR}/spreedbackend:/config:ro
networks:
spreedbackend:
nats:
image: nats
hostname: nats
expose:
- '4222'
networks:
spreedbackend:
janus:
restart: unless-stopped
hostname: spreedbackend
image: lnobach/janus-gateway:0.10.8
command: ["/entrypoint", "-F", "/config", "-C", "/config/janus.cfg", "--nat-1-1=${EXTIP}"]
expose:
- '8188'
ports:
- "20000-20100:20000-20100/udp"
environment:
- COPYCERT=/etc/letsencrypt/live/${HOSTFQDN}/fullchain.pem
- COPYKEY=/etc/letsencrypt/live/${HOSTFQDN}/privkey.pem
volumes:
- ${CONFIGDIR}/janus:/config:ro
- ${CONFIGDIR}/letsencrypt:/etc/letsencrypt:ro
networks:
spreedbackend:
coturn:
restart: unless-stopped
hostname: coturn
image: instrumentisto/coturn:4.5.1
volumes:
- ${CONFIGDIR}/coturn.conf:/etc/coturn/turnserver.conf:ro
- ${CONFIGDIR}/letsencrypt:/etc/letsencrypt:ro
tmpfs:
- /var/lib/coturn
ports:
- 3478:3478
- 3478:3478/udp
- 5349:5349
- 5349:5349/udp
- "49160-49200:49160-49200/udp"
networks:
spreedbackend:
networks:
spreedbackend: