This commit is contained in:
albert 2024-04-19 13:21:16 +09:00
parent 35907230c9
commit c1f13fb327
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A

View file

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