2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-31 01:57:22 +01:00

add synapse

This commit is contained in:
kev
2023-02-09 11:57:43 +08:00
parent cc939a0151
commit e9ea0cbb8f
3 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
version: "3.8"
services:
synapse:
image: matrixdotorg/synapse
ports:
- "8008:8008"
volumes:
- ./data:/data
environment:
- SYNAPSE_SERVER_NAME=matrix.easypi.duckdns.org
- SYNAPSE_HTTP_PORT=8008
- SYNAPSE_REPORT_STATS=no
- SYNAPSE_DATA_DIR=/data
- SYNAPSE_CONFIG_DIR=/data
- SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
- UID=991
- GID=991
- TZ=UTC
restart: unless-stopped