-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
59 lines (54 loc) · 1.38 KB
/
docker-compose.yaml
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
version: '3'
services:
synapse:
image: matrixdotorg/synapse:latest
container_name: synapse
environment:
- SYNAPSE_SERVER_NAME=banana
- SYNAPSE_REPORT_STATS=yes
ports:
- "8008:8008"
volumes:
- ./data:/data
networks:
- matrix_network
nginx:
image: nginx:latest
container_name: nginx
ports:
- "8080:8080"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- ./matrix-well-known:/etc/nginx/html/.well-known/matrix/client
depends_on:
- synapse
networks:
- matrix_network
sliding-sync:
image: ghcr.io/matrix-org/sliding-sync:latest
environment:
- SYNCV3_SERVER=http://synapse:8008
- SYNCV3_SECRET="33297eaa2e981e794c1b9f174ab4234379540b6b72814e9ac32e8af602fe7d16"
- SYNCV3_BINDADDR=0.0.0.0:8009
- SYNCV3_DB=user=syncv3 dbname=syncv3 sslmode=disable host=sliding-postgres password=hunter2
- SYNCV3_LOG_LEVEL=DEBUG
ports:
- "8009:8009"
depends_on:
- sliding-postgres
- synapse
networks:
- matrix_network
sliding-postgres:
image: docker.io/postgres:15-alpine
restart: unless-stopped
environment:
- "POSTGRES_USER=syncv3"
- "POSTGRES_PASSWORD=hunter2"
- "POSTGRES_DB=syncv3"
volumes:
- ./sliding_db_data:/var/lib/postgresql/data
networks:
- matrix_network
networks:
matrix_network: