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

38 lines
891 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";
container_name = "it-tools";
log-driver = "journald";
restart = "always";
depends_on = [
"promtail"
"traefik-int"
];
labels = {
type = "internal";
traefik = {
enable = true;
docker.network = "sysctlio_default";
http = {
routers.it-tools = {
tls.enable = "true";
tls.certresolver = "letsencrypt-int";
entrypoints = "web-secure-int";
rule = "Host(`sysctl.io`)";
};
services.it-tools = {
loadbalancer.server.port = 80;
};
};
};
# Flame Configs
flame = {
icon = "home";
type = "app";
url = "https://sysctl.io";
name = "Cyberchef";
};
};
};
}