2022-04-20 20:32:07 +00:00
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
services:
|
2022-05-16 13:30:51 +00:00
|
|
|
app_proxy:
|
|
|
|
environment:
|
2022-12-04 20:18:22 +00:00
|
|
|
APP_HOST: synapse_server_1
|
2022-05-16 13:30:51 +00:00
|
|
|
APP_PORT: $APP_SYNAPSE_PORT
|
2022-06-07 07:04:33 +00:00
|
|
|
PROXY_AUTH_ADD: "false"
|
2022-05-16 13:30:51 +00:00
|
|
|
|
2022-04-20 20:32:07 +00:00
|
|
|
server:
|
|
|
|
image: matrixdotorg/synapse:v1.42.0@sha256:10a1dd576504af002a1107d6d1edddc5bb891ccfc404218fbd99a15531cef742
|
|
|
|
user: "1000:1000"
|
|
|
|
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"
|