40 lines
1.0 KiB
Markdown
40 lines
1.0 KiB
Markdown
## Usage and Components
|
|
|
|
### Element-Web
|
|
|
|
* Includes config.json that is being populated by values.yaml
|
|
* Includes nginx on port localhost:8080 (http)
|
|
* Includes nginx proxy on port 80+443 (http redirect, https)
|
|
|
|
The service is reachable as `{{ .Release.Name }}-element-web`.
|
|
|
|
### Synapse
|
|
|
|
* homeserver.yaml is created from a ConfigMap in /config-ro
|
|
* homeserver.yaml is edited using sed to add the postgres password and
|
|
stored in /config/homeserver.yaml
|
|
* Logging configured to stdout
|
|
|
|
The service is reachable as `{{ .Release.Name }}`.
|
|
|
|
### Postgres
|
|
|
|
Tuned with `--no-locale --encoding=UTF8` using `POSTGRES_INITDB_ARGS` (required by synapse).
|
|
|
|
The service is reachable as `{{ .Release.Name }}-postgres`.
|
|
|
|
See
|
|
|
|
* https://www.postgresql.org/docs/9.5/app-initdb.html
|
|
* https://hub.docker.com/_/postgres
|
|
* https://github.com/matrix-org/synapse/blob/develop/docs/postgres.md
|
|
|
|
|
|
## Missing
|
|
|
|
- SMTP settings / secrets (ungleich mail + sops?)
|
|
|
|
### admin user
|
|
|
|
docker exec -it synapse register_new_matrix_user http://localhost:8008 -c /data/homeserver.yaml --help
|