-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
72 lines (66 loc) · 1.93 KB
/
docker-compose.yml
File metadata and controls
72 lines (66 loc) · 1.93 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Family Book — Full Stack
# Bring-up order: conduit → bridges → familybook
# See SPEC.md § Matrix as Universal Bridge Layer
services:
familybook:
build: .
ports: ["${PORT:-8000}:8000"]
volumes: ["./data:/data"]
env_file: .env
environment:
- MATRIX_HOMESERVER=http://conduit:6167
depends_on:
conduit:
condition: service_healthy
healthcheck:
test: ["CMD", "curl", "-sf", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 15s
restart: unless-stopped
conduit:
image: matrixconduit/matrix-conduit:latest
volumes: ["./conduit-data:/var/lib/matrix-conduit"]
environment:
CONDUIT_SERVER_NAME: ${CONDUIT_SERVER_NAME:-family.example.com}
CONDUIT_DATABASE_BACKEND: rocksdb
CONDUIT_PORT: 6167
CONDUIT_ALLOW_REGISTRATION: "false"
CONDUIT_MAX_REQUEST_SIZE: 20000000 # 20MB for media
ports: ["6167:6167"]
healthcheck:
test: ["CMD", "curl", "-sf", "http://localhost:6167/_matrix/client/versions"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
restart: unless-stopped
mautrix-whatsapp:
image: dock.mau.dev/mautrix/whatsapp:latest
volumes: ["./mautrix-whatsapp:/data"]
depends_on:
conduit:
condition: service_healthy
restart: unless-stopped
mautrix-telegram:
image: dock.mau.dev/mautrix/telegram:latest
volumes: ["./mautrix-telegram:/data"]
depends_on:
conduit:
condition: service_healthy
restart: unless-stopped
mautrix-signal:
image: dock.mau.dev/mautrix/signal:latest
volumes: ["./mautrix-signal:/data"]
depends_on:
conduit:
condition: service_healthy
restart: unless-stopped
mautrix-meta:
image: dock.mau.dev/mautrix/meta:latest
volumes: ["./mautrix-meta:/data"]
depends_on:
conduit:
condition: service_healthy
restart: unless-stopped