umbrel-apps/synapse/docker-compose.yml
2024-08-15 11:38:58 +10:00

27 lines
748 B
YAML

version: "3.7"
services:
app_proxy:
environment:
APP_HOST: synapse_server_1
APP_PORT: $APP_SYNAPSE_PORT
PROXY_AUTH_ADD: "false"
server:
image: matrixdotorg/synapse:v1.55.0@sha256:4b750f7a4d0ddb9d1b20838e4005b885017e2a317aa3654821de5251b37ef485
restart: on-failure
stop_grace_period: 1m
entrypoint: "bash"
command: "-c './start.py generate && ./start.py migrate_config && exec ./start.py'"
volumes:
- ${APP_DATA_DIR}/data/synapse:/data
environment:
UID: "1000"
GID: "1000"
SYNAPSE_HTTP_PORT: "${APP_SYNAPSE_PORT}"
SYNAPSE_SERVER_NAME: "${APP_HIDDEN_SERVICE}"
SYNAPSE_REPORT_STATS: "yes"
SYNAPSE_ENABLE_REGISTRATION: "yes"
SYNAPSE_NO_TLS: "yes"