-
Notifications
You must be signed in to change notification settings - Fork 63
/
Copy pathdocker-compose.yml
57 lines (52 loc) · 1.35 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
x-moq: &x-moq
build:
context: .
dockerfile: Dockerfile
services:
relay1:
<<: *x-moq
build:
target: moq-relay
# This relay is the root, used to discover/announce origins.
command: --tls-self-sign localhost,relay1,127.0.0.1 --cluster-node relay1 --cluster-root relay1 --dev
ports:
- "4443:443"
- "4443:443/udp"
relay2:
<<: *x-moq
build:
target: moq-relay
# This relay is a follower, connecting to relay1 to discover/announce origins.
command: --tls-self-sign localhost,relay2,127.0.0.1 --cluster-node relay2 --cluster-root relay1 --dev
depends_on:
- relay1
ports:
- "4444:443"
- "4444:443/udp"
bbb:
<<: *x-moq
build:
target: moq-karp
entrypoint: moq-bbb
command: --tls-disable-verify publish "https://relay1/demo/bbb"
depends_on:
- relay1
# Disabled until I can care enough to make it work. Use ./dev/web instead.
# web:
# <<: *x-moq
# build:
# target: moq-web
# command: --cert-file /etc/tls/cert --key-file /etc/tls/key
# depends_on:
# - relay1
# ports:
# - "8080:8080"
# Disabled until it's shown on the UI.
# clock:
# <<: *x-moq
# build:
# dockerfile: Dockerfile
# # Using relay2 just to test clustering.
# command: --tls-disable-verify --publish https://relay2
# depends_on:
# - relay2