mirror of https://github.com/lukechilds/umbrel.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
765 B
26 lines
765 B
3 years ago
|
version: "3.7"
|
||
|
|
||
|
services:
|
||
|
server:
|
||
|
image: matrixdotorg/synapse:v1.39.0@sha256:f2cfc838172a3c8c3f3595a637ba465f0d933049ba48b7c7822cec2f0ccc9d80
|
||
|
user: "1000:1000"
|
||
|
restart: on-failure
|
||
|
stop_grace_period: 1m
|
||
|
ports:
|
||
|
- "$APP_SYNAPSE_PORT:$APP_SYNAPSE_PORT"
|
||
|
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"
|
||
|
networks:
|
||
|
default:
|
||
|
ipv4_address: $APP_SYNAPSE_IP
|