mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 18:15:13 -05:00
22 lines
371 B
Nix
Executable file
22 lines
371 B
Nix
Executable file
{instancesFunctions}: let
|
|
inherit
|
|
(instancesFunctions)
|
|
servicePath
|
|
sopsPath
|
|
;
|
|
|
|
postgresLabel = "PostgreSQL";
|
|
postgresName = "postgres";
|
|
in {
|
|
label = postgresLabel;
|
|
name = postgresName;
|
|
sops = {
|
|
path0 = "${sopsPath}/${postgresName}";
|
|
};
|
|
paths = {
|
|
path0 = "${servicePath}/${postgresLabel}";
|
|
};
|
|
ports = {
|
|
port0 = 5432;
|
|
};
|
|
}
|