nix/nixos/hosts/framework-server/docker/internal/it-tools.nix

27 lines
861 B
Nix
Raw Normal View History

2024-04-19 06:05:09 +02:00
{ ... }: {
virtualisation.oci-containers.containers."it-tools" = {
image = "docker.io/fredliang/derper";
2024-04-19 06:21:16 +02:00
hostname = "it-tools";
2024-04-19 06:05:09 +02:00
log-driver = "journald";
2024-04-19 06:21:16 +02:00
dependsOn = [
2024-04-19 06:05:09 +02:00
"promtail"
"traefik-int"
];
labels = {
2024-04-19 06:21:16 +02:00
"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";
2024-04-19 06:05:09 +02:00
# Flame Configs
2024-04-19 06:21:16 +02:00
"flame.icon" = "home";
"flame.type" = "app";
"flame.url" = "https://sysctl.io";
"flame.name" = "Cyberchef";
2024-04-19 06:05:09 +02:00
};
};
}