-
Notifications
You must be signed in to change notification settings - Fork 1
/
compose.yaml
52 lines (47 loc) · 1.2 KB
/
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
services:
synapse:
image: matrixdotorg/synapse:latest
container_name: matrix-bots-wporg-synapse
volumes:
- ./local/synapse:/config
environment:
SYNAPSE_CONFIG_PATH=/config/homeserver.yaml:
ports:
- "8008:8008"
depends_on:
- postgres
element:
image: vectorim/element-web:latest
container_name: matrix-bots-wporg-element
volumes:
- ./local/element/config.json:/app/config.json
ports:
- "8009:80"
maubot:
build: .
image: matrix-bots-wporg-local
container_name: matrix-bots-wporg-maubot
depends_on:
- postgres
ports:
- "29316:29316"
volumes:
- ./local/maubot/config.yaml:/config.yaml
- ./local/maubot/dbs:/data/dbs
command: sh -c 'cp /config.yaml /data/config.yaml; /opt/maubot/docker/run.sh'
postgres:
image: postgres:15-alpine
container_name: matrix-bots-wporg-postgres
volumes:
- postgres:/var/lib/postgresql/data
- ./local/postgres/init.sql:/docker-entrypoint-initdb.d/init.sql
environment:
POSTGRES_PASSWORD: postgres
ports:
- "5432:5432"
networks:
default:
name: matrix-bots-wporg
volumes:
postgres:
name: matrix-bots-wporg