-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmatrix.yml
41 lines (38 loc) · 1.06 KB
/
matrix.yml
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
# This compose file is compatible with Compose itself, it might need some
# adjustments to run properly with stack.
version: '3'
services:
synapse:
container_name: synapse
hostname: matrix.bashair.ru
image: docker.io/matrixdotorg/synapse:latest
restart: unless-stopped
environment:
- SYNAPSE_SERVER_NAME=matrix.bashair.ru
- SYNAPSE_REPORT_STATS=yes
- SYNAPSE_NO_TLS=1
#- SYNAPSE_ENABLE_REGISTRATION=no
#- SYNAPSE_CONFIG_PATH=/config
# - SYNAPSE_LOG_LEVEL=DEBUG
- SYNAPSE_REGISTRATION_SHARED_SECRET=${REG_SHARED_SECRET}
- POSTGRES_DB=synapse
- POSTGRES_HOST=postgres
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
volumes:
- synapse-data:/data
depends_on:
- db
# In order to expose Synapse, remove one of the following, you might for
# instance expose the TLS port directly:
# ports:
# - 8448:8448/tcp
networks:
- web
- backend
volumes:
synapse-data:
networks:
default:
external:
name: bashair_default