nix/nixos/hosts/framework-server/docker/internal/it-tools.nix
2024-04-19 13:21:16 +09:00

26 lines
861 B
Nix

{ ... }: {
virtualisation.oci-containers.containers."it-tools" = {
image = "docker.io/fredliang/derper";
hostname = "it-tools";
log-driver = "journald";
dependsOn = [
"promtail"
"traefik-int"
];
labels = {
"type" = "internal";
"traefik.enable" = "true";
"traefik.http.routers.it-tools.tls" = "true";
"traefik.http.routers.it-tools.entrypoints" = "web-secure-int";
"traefik.http.routers.it-tools.rule" = "Host(`sysctl.io`)";
"traefik.http.services.it-tools.loadbalancer.server.port" = "80";
"traefik.http.routers.it-tools.tls.certresolver" = "letsencrypt-int";
"traefik.docker.network" = "sysctlio_default";
# Flame Configs
"flame.icon" = "home";
"flame.type" = "app";
"flame.url" = "https://sysctl.io";
"flame.name" = "Cyberchef";
};
};
}