infra: add postgress pw

This commit is contained in:
Johannes Jöns 2024-07-10 19:48:42 +02:00
parent b24a040d4d
commit bcf6b64a7a

View file

@ -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 = {