23 lines
538 B
Nix
23 lines
538 B
Nix
{ config, ... }:
|
|
let inherit (import ./lib.nix config) mkContainer blazestar; in
|
|
{
|
|
# TODO: Authentication
|
|
virtualisation.oci-containers.containers.prometheus = mkContainer {
|
|
image = "prom/prometheus";
|
|
hostName = "prometheus";
|
|
domain = blazestar;
|
|
port = 9090;
|
|
volumes = [
|
|
"/tank/config/prometheus:/etc/prometheus"
|
|
];
|
|
environment = {
|
|
};
|
|
homepageOpts = {
|
|
group = "Infra";
|
|
name = "Prometheus";
|
|
icon = "prometheus.svg";
|
|
description = "Prometheus monitoring";
|
|
};
|
|
};
|
|
}
|