-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
55 lines (49 loc) · 1.23 KB
/
docker-compose.yaml
File metadata and controls
55 lines (49 loc) · 1.23 KB
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
services:
db:
image: postgres:16
restart: unless-stopped
env_file: ./.env
environment:
POSTGRES_DB: synapse
POSTGRES_USER: synapse
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
# ДОБАВЬТЕ ЭТИ СТРОКИ
POSTGRES_INITDB_ARGS: "--encoding=UTF8 --lc-collate=C --lc-ctype=C"
volumes:
- postgres_data:/var/lib/postgresql/data
synapse:
image: matrixdotorg/synapse:latest
restart: unless-stopped
depends_on: [db]
env_file: ./.env
environment:
SYNAPSE_SERVER_NAME: ${SYNAPSE_SERVER_NAME}
SYNAPSE_REPORT_STATS: "yes"
volumes:
- ./synapse/data:/data
element:
image: vectorim/element-web:latest
restart: unless-stopped
depends_on: [synapse]
volumes:
- ./element/config.json:/app/config.json:ro
caddy:
image: caddy:2
restart: unless-stopped
depends_on: [synapse, element]
ports:
- "80:80"
- "443:443"
- "8448:8448"
volumes:
- ./caddy/Caddyfile:/etc/caddy/Caddyfile:ro
- ./caddy/data:/data
- ./caddy/config:/config
coturn:
image: instrumentisto/coturn
restart: unless-stopped
network_mode: "host"
volumes:
- ./coturn:/etc/coturn
volumes:
postgres_data: