Move synapse to postgres
This commit is contained in:
@@ -6,11 +6,21 @@
|
|||||||
}: let
|
}: let
|
||||||
fqdn = "matrix.broccoli.town";
|
fqdn = "matrix.broccoli.town";
|
||||||
in {
|
in {
|
||||||
|
services.postgresql = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
services.matrix-synapse = {
|
services.matrix-synapse = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
server_name = "broccoli.town";
|
server_name = "broccoli.town";
|
||||||
database.name = "sqlite3";
|
database = {
|
||||||
|
name = "psycopg2";
|
||||||
|
args = {
|
||||||
|
database = "synapse";
|
||||||
|
user = "matrix-synapse";
|
||||||
|
};
|
||||||
|
};
|
||||||
max_upload_size = "50M";
|
max_upload_size = "50M";
|
||||||
listeners = [
|
listeners = [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user