This commit is contained in:
Alexander Heldt
2024-12-01 13:39:11 +01:00
parent 189cd4fe35
commit 19a0c3d97d
2 changed files with 30 additions and 2 deletions

4
flake.lock generated
View File

@@ -267,8 +267,8 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1733044802, "lastModified": 1733056232,
"narHash": "sha256-675YKPVow7g35wm6cE3n45WC3gRHfYRnStFodbAWnuc=", "narHash": "sha256-TlGxaIEzV+4dithjWT4xtl/yOgayHIqZqj7okKufF8E=",
"path": "/home/alex/code/own/whib", "path": "/home/alex/code/own/whib",
"type": "path" "type": "path"
}, },

View File

@@ -30,8 +30,16 @@ in
backup = { backup = {
gpgPassphraseFile = ./whib-gpgPassfile; gpgPassphraseFile = ./whib-gpgPassfile;
backblazeBucket = "whib-postgres-backups";
backblazeKeyID = "003867c33cd1a9b0000000003";
backblazeKey = "K003+GUNG0lwTOMS5EheKC9YzgxFzuU";
}; };
}; };
grafana = {
password = "granfanapassword";
};
}; };
virtualisation.vmVariant = { virtualisation.vmVariant = {
@@ -45,15 +53,35 @@ in
forwardPorts = [ forwardPorts = [
{ {
# Service API
from = "host"; from = "host";
host.port = 8080; host.port = 8080;
guest.port = 8080; guest.port = 8080;
} }
{ {
# Service Metrics
from = "host";
host.port = 8181;
guest.port = 8181;
}
{
# Postgres
from = "host"; from = "host";
host.port = 5432; host.port = 5432;
guest.port = 5432; guest.port = 5432;
} }
{
# Grafana
from = "host";
host.port = 3000;
guest.port = 3000;
}
{
# Prometheus
from = "host";
host.port = 9090;
guest.port = 9090;
}
]; ];
}; };
}; };