mirror of
https://github.com/mdlayher/homelab.git
synced 2024-12-14 11:47:32 +00:00
nixos/servnerr-3: deploy promlens docker container
This commit is contained in:
parent
b1ee541b9e
commit
b3465798da
1 changed files with 14 additions and 1 deletions
|
@ -109,10 +109,23 @@ in {
|
|||
zfs.autoScrub.enable = true;
|
||||
};
|
||||
|
||||
virtualisation.libvirtd.enable = true;
|
||||
virtualisation = {
|
||||
docker.enable = true;
|
||||
libvirtd.enable = true;
|
||||
};
|
||||
|
||||
# root SSH key for remote builds.
|
||||
users.users.root.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP3+HUx05h15g95ID/lWbU5uvF6TLr2XESmthQjU7qvR NixOS distributed build"
|
||||
];
|
||||
|
||||
docker-containers = {
|
||||
# promlens running on TCP/9091 adjacent to Prometheus.
|
||||
promlens = {
|
||||
image = "promlabs/promlens";
|
||||
cmd = ["-shared-links-sqlite-file=/var/lib/promlens/promlens-links.db"];
|
||||
ports = ["9091:8080"];
|
||||
volumes = ["/var/lib/promlens:/var/lib/promlens"];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue