module: set postgresql.host to /run/postgresql
Closes #79 So apparently the Python-based server knew to use `/run/postgresql` if `host` is empty, but the Go driver tripped over it. Use this explicitly to fix both cases.
This commit is contained in:
parent
bbd5f56c4b
commit
21cafb4b85
1 changed files with 1 additions and 1 deletions
|
|
@ -307,7 +307,7 @@ in
|
|||
postgresql = mkIf cfg.createDatabase {
|
||||
user = mkDefault "authentik";
|
||||
name = mkDefault "authentik";
|
||||
host = mkDefault "";
|
||||
host = mkDefault "/run/postgresql";
|
||||
};
|
||||
cert_discovery_dir = mkIf (cfg.nginx.enable && cfg.nginx.enableACME) "env://CREDENTIALS_DIRECTORY";
|
||||
storage.media = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue