forked from etkecc/ketesa
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-dev.yml
More file actions
49 lines (44 loc) · 1.3 KB
/
docker-compose-dev.yml
File metadata and controls
49 lines (44 loc) · 1.3 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
services:
synapse:
image: ghcr.io/element-hq/synapse:develop
entrypoint: python
command: "-m synapse.app.homeserver -c /config/homeserver.yaml"
volumes:
- ./testdata/synapse:/config
- ./testdata/synapse.data:/media-store
mas:
image: ghcr.io/element-hq/matrix-authentication-service:latest
ports:
- "8007:8007"
volumes:
- ./testdata/mas/config.yaml:/config.yaml:ro
nginx:
image: nginx:latest
ports:
- "8008:8008"
volumes:
- ./testdata/nginx/nginx.conf:/etc/nginx/conf.d/nginx.conf:ro
synapse-admin-prod:
image: ghcr.io/etkecc/synapse-admin
element:
image: docker.io/vectorim/element-web:latest
depends_on:
synapse:
condition: service_healthy
restart: true
ports:
- "8080:8080"
volumes:
- ./testdata/element/nginx.conf:/etc/nginx/nginx.conf:ro
- /dev/null:/etc/nginx/conf.d/default.conf:ro
- ./testdata/element/config.json:/app/config.json:ro
postgres:
image: postgres:17-alpine
volumes:
- ./testdata/postgres.data:/var/lib/postgresql/data
- ./testdata/postgres.initdb:/docker-entrypoint-initdb.d:ro
environment:
POSTGRES_USER: synapse
POSTGRES_PASSWORD: synapse
POSTGRES_DB: synapse
POSTGRES_INITDB_ARGS: "--lc-collate C --lc-ctype C --encoding UTF8"