forked from ionorg/ion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
103 lines (95 loc) · 2.63 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
version: "3.7"
services:
sfu:
# These are commented out on purpose, when uncommented `docker-compose up` will
# execute build instead of pulling from Dockerhub. When ready to build new images uncomment
# and execute `docker-compose build && docker-compose push`
#
# build:
# dockerfile: ./docker/sfu.Dockerfile
# context: .
command: "-c /configs/sfu.toml"
image: pionwebrtc/ion-sfu:0.2.0
volumes:
- "./docker/sfu.toml:/configs/sfu.toml"
ports:
- "5000-5200:5000-5200/udp"
depends_on:
- nats
- etcd
networks:
- ionnet
biz:
# These are commented out on purpose, when uncommented `docker-compose up` will
# execute build instead of pulling from Dockerhub. When ready to build new images uncomment
# and execute `docker-compose build && docker-compose push`
#
# build:
# dockerfile: ./docker/biz.Dockerfile
# context: .
image: pionwebrtc/ion-biz:0.2.0
command: "-c /configs/biz.toml"
volumes:
- "./docker/biz.toml:/configs/biz.toml"
ports:
- 8443:8443
networks:
- ionnet
depends_on:
- nats
- etcd
islb:
# These are commented out on purpose, when uncommented `docker-compose up` will
# execute build instead of pulling from Dockerhub. When ready to build new images uncomment
# and execute `docker-compose build && docker-compose push`
#
# build:
# dockerfile: ./docker/islb.Dockerfile
# context: .
image: pionwebrtc/ion-islb:0.2.0
command: "-c /configs/islb.toml"
volumes:
- "./docker/islb.toml:/configs/islb.toml"
depends_on:
- nats
- etcd
- redis
networks:
- ionnet
avp:
# These are commented out on purpose, when uncommented `docker-compose up` will
# execute build instead of pulling from Dockerhub. When ready to build new images uncomment
# and execute `docker-compose build && docker-compose push`
#
# build:
# dockerfile: ./docker/avp.Dockerfile
# context: .
command: "-c /configs/avp.toml"
image: pionwebrtc/ion-avp:0.2.0
volumes:
- "./docker/avp.toml:/configs/avp.toml"
- "./:/out/"
depends_on:
- nats
- etcd
networks:
- ionnet
nats:
image: nats
networks:
- ionnet
etcd:
image: gcr.io/etcd-development/etcd:v3.4.9
entrypoint: "/usr/local/bin/etcd"
command: "--listen-client-urls http://0.0.0.0:2379 --advertise-client-urls http://0.0.0.0:2379"
networks:
- ionnet
redis:
image: redis:5.0.9
networks:
- ionnet
networks:
ionnet:
external: true
name: ionnet
driver: bridge