infra: add postgress pw
This commit is contained in:
parent
b24a040d4d
commit
bcf6b64a7a
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ in
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
description = "Alisa Backend API Server";
|
description = "Alisa Backend API Server";
|
||||||
environment = {
|
environment = {
|
||||||
DATABASE_URL = ''postgres://${user}@localhost:${builtins.toString config.services.postgresql.settings.port}/${user}'';
|
DATABASE_URL = ''postgres://${user}:${user}@localhost:${builtins.toString config.services.postgresql.settings.port}/${user}'';
|
||||||
TOKEN_SECRET = "secret";
|
TOKEN_SECRET = "secret";
|
||||||
};
|
};
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
|
Loading…
Reference in a new issue