forked from silvio/docker-matrix
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
81 lines (75 loc) · 1.62 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
version: '2'
services:
riot:
image: allmende/riot:20170918
command: start
environment:
VIRTUAL_HOST: riot.allmende.io
VIRTUAL_PORT: 8080
LETSENCRYPT_HOST: riot.allmende.io
LETSENCRYPT_EMAIL: [email protected]
expose:
- "8080"
volumes:
- /data/domains/matrix.allmende.io/allmende:/data
logging:
driver: none
networks:
- frontend-web
matrix:
image: allmende/synapse:v0.25.1
command: start
environment:
VIRTUAL_HOST: matrix.allmende.io
VIRTUAL_PORT: 8080
LETSENCRYPT_HOST: matrix.allmende.io
LETSENCRYPT_EMAIL: [email protected]
expose:
- "8080"
ports:
- "8448:8448"
volumes:
- /data/domains/matrix.allmende.io/allmende:/data
logging:
driver: none
networks:
- frontend-web
- backend
coturn:
image: allmende/coturn
command: start
expose:
- "3478"
- "3479"
- "5349"
- "5350"
ports:
- "3478:3478"
- "3478:3478/udp"
- "3479:3479"
- "3479:3479/udp"
- "5349:5349"
- "5349:5349/udp"
- "5350:5350"
- "5350:5350/udp"
# - "49152-65535:49152-65535/udp"
volumes:
- /data/domains/matrix.allmende.io/allmende:/data
logging:
driver: none
data:
image: "postgres:9.6.3-alpine"
volumes:
- /data/bases/matrix.allmende.io/database:/var/lib/postgresql/data
environment:
POSTGRES_USER: matrix
POSTGRES_PASSWORD:
networks:
- backend
logging:
driver: none
networks:
frontend-web:
external: true
backend:
driver: bridge