++matrix notes

This commit is contained in:
Nico Schottelius 2021-12-12 21:23:37 +01:00
parent 05fa3a60f0
commit 883bb04586
2 changed files with 25 additions and 11 deletions

View File

@ -19,3 +19,27 @@ What I want:
- Being able to inject postgres secret
- Postgres not restarting if synapse is getting updated
- 2nd service could nicely solve that
## input / image
/data
SYNAPSE_CONFIG_DIR: where additional config files are stored. Defaults
to /data.
SYNAPSE_CONFIG_PATH: path to the config file. Defaults to
<SYNAPSE_CONFIG_DIR>/homeserver.yaml
TZ: the timezone the container will run with. Defaults to UTC.
docker run -d --name synapse \
--mount type=volume,src=synapse-data,dst=/data \
-p 8008:8008 \
matrixdotorg/synapse:latest run \
-m synapse.app.generic_worker \
--config-path=/data/homeserver.yaml \
--config-path=/data/generic_worker.yaml
# admin user
docker exec -it synapse register_new_matrix_user http://localhost:8008 -c /data/homeserver.yaml --help

View File

@ -19,14 +19,4 @@ enable_registration: false
max_filesize_in_mb: 100
elementVersion: "1.7.32"
#synapseVersion: "1.38.0"
synapseVersion: "latest"
#synapse_config:
# ---
# apiVersion: v1
# kind: ConfigMap
# metadata:
# name: {{ tpl .Values.identifier . }}-matrixconfig
# data:
# {{ tpl (.Files.Glob "matrix/*").AsConfig . | indent 2 }}
synapseVersion: "v1.48.0"