forked from berty/berty
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
71 lines (62 loc) · 1.54 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
version: '3'
services:
homeserver-0:
image: matrixdotorg/synapse:latest
hostname: homeserver-0
environment:
- SYNAPSE_SERVER_NAME=homeserver-0
- SYNAPSE_ENABLE_REGISTRATION=yes
- SYNAPSE_REPORT_STATS=no
- SYNAPSE_NO_TLS=1
homeserver-1:
image: matrixdotorg/synapse:latest
hostname: homeserver-1
environment:
- SYNAPSE_SERVER_NAME=homeserver-1
- SYNAPSE_ENABLE_REGISTRATION=yes
- SYNAPSE_REPORT_STATS=no
- SYNAPSE_NO_TLS=1
homeserver-2:
image: matrixdotorg/synapse:latest
hostname: homeserver-2
environment:
- SYNAPSE_SERVER_NAME=homeserver-2
- SYNAPSE_ENABLE_REGISTRATION=yes
- SYNAPSE_REPORT_STATS=no
- SYNAPSE_NO_TLS=1
client-0:
build: .
depends_on:
- homeserver-0
- homeserver-1
- homeserver-2
environment:
- USER=client-0
- PASSWORD=secure-0
- BOOTSTRAPS=http://homeserver-1:8008,http://homeserver-2:8008
volumes:
- $GOPATH/src:/go/src
client-1:
build: .
depends_on:
- homeserver-0
- homeserver-1
- homeserver-2
environment:
- USER=client-1
- PASSWORD=secure-1
- BOOTSTRAPS=http://homeserver-2:8008,http://homeserver-0:8008
volumes:
- $GOPATH/src:/go/src
client-2:
build: .
depends_on:
- homeserver-0
- homeserver-1
- homeserver-2
environment:
- USER=client-1
- PASSWORD=secure-1
- BOOTSTRAPS=http://homeserver-0:8008,http://homeserver-1:8008
volumes:
- $GOPATH/src:/go/src