diff --git a/flake.lock b/flake.lock index 4cc4d28..ba02955 100644 --- a/flake.lock +++ b/flake.lock @@ -267,8 +267,8 @@ ] }, "locked": { - "lastModified": 1733044802, - "narHash": "sha256-675YKPVow7g35wm6cE3n45WC3gRHfYRnStFodbAWnuc=", + "lastModified": 1733056232, + "narHash": "sha256-TlGxaIEzV+4dithjWT4xtl/yOgayHIqZqj7okKufF8E=", "path": "/home/alex/code/own/whib", "type": "path" }, diff --git a/hosts/test-vm/whib-backend.nix b/hosts/test-vm/whib-backend.nix index 18479d4..baac132 100644 --- a/hosts/test-vm/whib-backend.nix +++ b/hosts/test-vm/whib-backend.nix @@ -30,8 +30,16 @@ in backup = { gpgPassphraseFile = ./whib-gpgPassfile; + + backblazeBucket = "whib-postgres-backups"; + backblazeKeyID = "003867c33cd1a9b0000000003"; + backblazeKey = "K003+GUNG0lwTOMS5EheKC9YzgxFzuU"; }; }; + + grafana = { + password = "granfanapassword"; + }; }; virtualisation.vmVariant = { @@ -45,15 +53,35 @@ in forwardPorts = [ { + # Service API from = "host"; host.port = 8080; guest.port = 8080; } { + # Service Metrics + from = "host"; + host.port = 8181; + guest.port = 8181; + } + { + # Postgres from = "host"; host.port = 5432; guest.port = 5432; } + { + # Grafana + from = "host"; + host.port = 3000; + guest.port = 3000; + } + { + # Prometheus + from = "host"; + host.port = 9090; + guest.port = 9090; + } ]; }; };