update: matrix service to matrix-synapse-with- postgresql and sqlite #7560
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context
In the current version, Coolify has one
matrix.yamldocker compose template, not reflecting precisely what this service is.Being an open source project, Matrix has multiple implementation of "matrix servers", and the current one installed by the compose template is synapse.
In addition to having multiple server implementations, Matrix Synapse offers the possibility to be installed using different database:
sqlite(default) orpostgresql(recommended).Changes
In
templates/compose/we change:matrix.yamltomatrix-synapse-with-sqlite.yamlmatrix-synapse-with-postgresql.yamlIssues
The issues with the current compose definition are:
matrix.yamldoes not let the clear possibility to offer other matrix servers, by not precising that this server issynapse;matrix.yamlmakes a synapse install withsqliteas database, which is not recommended beyond tests and very small instances, and a new install for production should preferpostgresqlinstead.Docs
Here is the documentation PR that explains how to use the two deployment variants.