-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (40 loc) · 1.44 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
version: "3"
services:
client:
container_name: "webrtc-example-client"
environment:
- REACT_APP_WS_URL=wss://rtcws.interwebs-ug.de
- REACT_APP_TURN_SERVER_URL=turn:88.198.25.126:3478
- REACT_APP_TURN_SERVER_USERNAME=william
- REACT_APP_TURN_SERVER_PASSWORD=turner
networks:
- proxy
build:
context: .
dockerfile: packages/client/Dockerfile
labels:
- "traefik.http.routers.rtcclient.rule=Host(`rtc.interwebs-ug.de`)"
- "traefik.http.services.rtcclient-service.loadbalancer.server.port=8080"
- "traefik.http.routers.rtcclient.service=rtcclient-service@docker"
- "traefik.http.routers.rtcclient.entrypoints=https"
- "traefik.http.routers.rtcclient.tls.certresolver=interwebs"
- "traefik.enable=true"
- "traefik.docker.network=proxy"
server:
container_name: "webrtc-example-server"
networks:
- proxy
build:
context: .
dockerfile: packages/server/Dockerfile
labels:
- "traefik.http.routers.rtcserver.rule=Host(`rtcws.interwebs-ug.de`)"
- "traefik.http.services.rtcserver-service.loadbalancer.server.port=8080"
- "traefik.http.routers.rtcserver.service=rtcserver-service@docker"
- "traefik.http.routers.rtcserver.entrypoints=https"
- "traefik.http.routers.rtcserver.tls.certresolver=interwebs"
- "traefik.enable=true"
- "traefik.docker.network=proxy"
networks:
proxy:
external: true