mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-11-20 21:23:41 +03:00
Co-authored-by: Kai Chappel <kaichappel@users.noreply.github.com>
26 lines
837 B
YAML
26 lines
837 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.155.0@sha256:a87d002fba8efba807af19a876f488f4a9d298d6b62f5bab66d14e311a355e99
|
|
restart: on-failure
|
|
stop_grace_period: 1m
|
|
entrypoint: "bash"
|
|
command: "-c './start.py generate && ./start.py migrate_config && echo -e \"\nenable_registration_without_verification: true\" >> /data/homeserver.yaml && 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"
|