-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
33 lines (29 loc) · 875 Bytes
/
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
services:
webrtc-group-chat-service:
image: webrtc-group-chat-demo
reverse-proxy-service:
image: nginx
volumes:
- type: bind
source: /etc/nginx/nginx.conf
target: /etc/nginx/nginx.conf
read_only: true
- type: bind
source: /etc/nginx/templates
target: /etc/nginx/templates
# read_only: true
- type: bind
source: /etc/nginx/certs
target: /etc/nginx/certs
read_only: true
ports:
- 80:80
- 443:443
environment:
- WEBRTC_GROUP_CHAT_SERVICE_HOST_ALIAS=webrtc-group-chat-service
- WEBRTC_GROUP_CHAT_SERVICE_PORT=8000
turn-service:
image: coturn/coturn
network_mode: "host" # Note: Docker performs badly with large port ranges, so just use "host"
volumes:
- /etc/coturn/turnserver.conf:/etc/coturn/turnserver.conf