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