hydra: add manual psql users

This commit is contained in:
2025-05-11 20:06:13 +02:00
parent 1f16da64e6
commit 54242cf3a0
2 changed files with 11 additions and 2 deletions

View File

@@ -30,7 +30,15 @@
host signaldb mautrixsignal localhost scram-sha-256
host onlyoffice onlyoffice localhost scram-sha-256
local onlyoffice onlyoffice peer
local hydra hydra peer
local hydra all ident map=hydra-users
'';
identMap = ''
hydra-users hydra hydra
hydra-users hydra-queue-runner hydra
hydra-users hydra-www hydra
hydra-users root hydra
# The postgres user is used to create the pg_trgm extension for the hydra database
hydra-users postgres postgres
'';
initialScript = config.age.secrets."services/postgresql/initScript.sql".path;
};