37 lines
891 B
Nix
37 lines
891 B
Nix
{ ... }: {
|
|
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";
|
|
};
|
|
};
|
|
};
|
|
}
|