diff --git a/hosts/hopper/profiles/lab/garage.nix b/hosts/hopper/profiles/lab/garage.nix index 96a65e4..64d76cd 100644 --- a/hosts/hopper/profiles/lab/garage.nix +++ b/hosts/hopper/profiles/lab/garage.nix @@ -23,6 +23,8 @@ bind_addr = "/run/garage/web.sock"; root_domain = ".s3-web.hopper.priv.${vars.domain}"; }; + + admin.api_bind_addr = "127.0.0.1:3903"; }; }; diff --git a/hosts/hopper/profiles/lab/prometheus.nix b/hosts/hopper/profiles/lab/prometheus.nix index 315548a..536c99f 100644 --- a/hosts/hopper/profiles/lab/prometheus.nix +++ b/hosts/hopper/profiles/lab/prometheus.nix @@ -112,6 +112,13 @@ targets = ["rackserv:9615"]; }; } + + { + job_name = "garage"; + static_configs = lib.singleton { + targets = ["localhost:3903"]; + }; + } ]; exporters = { node = {