mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 04:58:19 -04:00
added meg and gcw to postgres
This commit is contained in:
@@ -35,6 +35,15 @@ in
|
|||||||
|
|
||||||
# ipv6
|
# ipv6
|
||||||
host hass hass ::1/128 trust
|
host hass hass ::1/128 trust
|
||||||
|
|
||||||
|
# megan
|
||||||
|
host megan megan 192.168.90.1/24 trust
|
||||||
|
host megan megan 127.0.0.1/32 trust
|
||||||
|
|
||||||
|
# gcw
|
||||||
|
host gcw gcw 192.168.90.1/24 trust
|
||||||
|
host gcw gcw 127.0.0.1/32 trust
|
||||||
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
identMap = ''
|
identMap = ''
|
||||||
@@ -77,9 +86,31 @@ in
|
|||||||
replication = true;
|
replication = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "megan";
|
||||||
|
ensureDBOwnership = true;
|
||||||
|
ensureClauses = {
|
||||||
|
login = true;
|
||||||
|
createrole = true;
|
||||||
|
createdb = true;
|
||||||
|
replication = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "gcw";
|
||||||
|
ensureDBOwnership = true;
|
||||||
|
ensureClauses = {
|
||||||
|
login = true;
|
||||||
|
createrole = true;
|
||||||
|
createdb = true;
|
||||||
|
replication = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
];
|
];
|
||||||
ensureDatabases = [
|
ensureDatabases = [
|
||||||
|
"gcw"
|
||||||
"hass"
|
"hass"
|
||||||
|
"megan"
|
||||||
"mxr_dev"
|
"mxr_dev"
|
||||||
"mxr_prod"
|
"mxr_prod"
|
||||||
"richie"
|
"richie"
|
||||||
|
|||||||
Reference in New Issue
Block a user