diff --git a/apps/matrix/README.md b/apps/matrix/README.md index 0026975..afd7446 100644 --- a/apps/matrix/README.md +++ b/apps/matrix/README.md @@ -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 +/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 diff --git a/apps/matrix/values.yaml b/apps/matrix/values.yaml index ca1bccc..b0a6bac 100644 --- a/apps/matrix/values.yaml +++ b/apps/matrix/values.yaml @@ -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"