mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-17 02:25:12 -05:00
23 lines
369 B
Nix
Executable file
23 lines
369 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;
|
|
};
|
|
}
|