fixup postgres and hedgedoc
This commit is contained in:
parent
6a23fdc3f2
commit
af01cffa4d
10 changed files with 52 additions and 43 deletions
|
|
@ -4,15 +4,11 @@
|
|||
services.hedgedoc = {
|
||||
enable = true;
|
||||
settings = {
|
||||
domain = "${config.networking.fqdn}";
|
||||
#environmentFile = config.age.secrets.hedgedoc_settings.path;
|
||||
domain = "md.${config.networking.domain}";
|
||||
environmentFile = config.age.secrets.hedgedoc_db_password.path;
|
||||
dbURL = "postgres://hedgedoc:\${DB_PASSWORD}@sql.berlin.ccc.de:5432/hedgedoc";
|
||||
db.dialect = "postgresql";
|
||||
protocolUseSSL = true;
|
||||
db = {
|
||||
dialect = "postgresql";
|
||||
host = "/run/postgresql";
|
||||
username = "hedgedoc";
|
||||
database = "hedgedoc";
|
||||
};
|
||||
enableStatsApi = true;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue