forked from ionorg/ion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
80 lines (73 loc) · 1.4 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
73
74
75
76
77
78
79
80
version: "3.7"
services:
islb:
image: pionwebrtc/ion:latest-islb
build:
dockerfile: ./docker/islb.Dockerfile
context: .
volumes:
- "./configs/docker/islb.toml:/configs/islb.toml"
depends_on:
- nats
- redis
networks:
- ionnet
sfu:
image: pionwebrtc/ion:latest-sfu
build:
dockerfile: ./docker/sfu.Dockerfile
context: .
volumes:
- "./configs/docker/sfu.toml:/configs/sfu.toml"
ports:
- "5000:5000/udp"
- 3478:3478
depends_on:
- nats
- islb
networks:
- ionnet
signal:
image: pionwebrtc/ion:latest-signal
build:
dockerfile: ./docker/signal.Dockerfile
context: .
volumes:
- "./configs/docker/signal.toml:/configs/signal.toml"
ports:
- 5551:5551
depends_on:
- islb
- app-room
networks:
- ionnet
app-room:
image: pionwebrtc/ion:latest-app-room
build:
dockerfile: ./docker/app-room.Dockerfile
context: .
volumes:
- "./configs/docker/app-room.toml:/configs/app-room.toml"
depends_on:
- nats
- redis
- islb
networks:
- ionnet
nats:
image: nats
ports:
- 4222:4222
networks:
- ionnet
redis:
image: redis:6.0.9
ports:
- 6379:6379
networks:
- ionnet
networks:
ionnet:
external: true
name: ionnet
driver: bridge