services/hedgedocs: use socket auth for postgres

keep-around/9937d5ff94f7372133197edcaafcbdc60e850dde
stuebinm 2022-01-12 19:33:07 +01:00
parent 569c5652f2
commit 676ba4fc31
No known key found for this signature in database
GPG Key ID: 8FBE8AAD32FA12B7
2 changed files with 10 additions and 2 deletions

View File

@ -42,7 +42,11 @@
allowFreeURL = true;
allowGravatar = false;
allowOrigin = [ "localhost" "pad.hacc.space" "fff-muc.de" ];
dbURL = "postgres://codimd:codimd@localhost:5432/codimd";
db = {
host = "/run/postgresql";
dialect = "postgres";
database = "codimd";
};
defaultPermission = "limited";
domain = "pad.hacc.space";
host = "0.0.0.0";

View File

@ -42,7 +42,11 @@
allowFreeURL = true;
allowGravatar = false;
allowOrigin = [ "localhost" "pad.infra4future.de" "fff-muc.de" ];
dbURL = "postgres://hedgedoc:hedgedoc@localhost:5432/hedgedoc";
db = {
host = "/run/postgresql";
dialect = "postgres";
database = "hedgedoc";
};
defaultPermission = "freely";
domain = "pad.infra4future.de";
host = "0.0.0.0";