Try without setup
This commit is contained in:
parent
680087f30d
commit
8236df8507
1 changed files with 9 additions and 3 deletions
|
@ -324,7 +324,7 @@
|
||||||
releaseCookiePath = config.sops.secrets.plausible-erlang-cookie.path;
|
releaseCookiePath = config.sops.secrets.plausible-erlang-cookie.path;
|
||||||
database = {
|
database = {
|
||||||
clickhouse.setup = true;
|
clickhouse.setup = true;
|
||||||
postgres.setup = true;
|
postgres.setup = false;
|
||||||
};
|
};
|
||||||
server = {
|
server = {
|
||||||
baseUrl = "http://beefcake.hare-cod.ts.net:8899";
|
baseUrl = "http://beefcake.hare-cod.ts.net:8899";
|
||||||
|
@ -341,7 +341,7 @@
|
||||||
|
|
||||||
services.postgresql = {
|
services.postgresql = {
|
||||||
enable = true;
|
enable = true;
|
||||||
ensureDatabases = [ "daniel" ];
|
ensureDatabases = [ "daniel" "plausible" ];
|
||||||
ensureUsers = [
|
ensureUsers = [
|
||||||
{
|
{
|
||||||
name = "daniel";
|
name = "daniel";
|
||||||
|
@ -349,6 +349,12 @@
|
||||||
"DATABASE daniel" = "ALL PRIVILEGES";
|
"DATABASE daniel" = "ALL PRIVILEGES";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "plausible";
|
||||||
|
ensurePermissions = {
|
||||||
|
"DATABASE plausible" = "ALL PRIVILEGES";
|
||||||
|
};
|
||||||
|
}
|
||||||
];
|
];
|
||||||
dataDir = "/storage/postgres";
|
dataDir = "/storage/postgres";
|
||||||
enableTCPIP = true;
|
enableTCPIP = true;
|
||||||
|
@ -366,7 +372,7 @@
|
||||||
host all all 10.0.0.0/24 trust
|
host all all 10.0.0.0/24 trust
|
||||||
|
|
||||||
# tailnet ipv4
|
# tailnet ipv4
|
||||||
host all all 100.64.0.0/10 trust
|
host all all 100.64.0.0/10 trust
|
||||||
'';
|
'';
|
||||||
|
|
||||||
identMap = ''
|
identMap = ''
|
||||||
|
|
Reference in a new issue