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" = {
image = "docker.io/fredliang/derper";
container_name = "it-tools";
hostname = "it-tools";
log-driver = "journald";
restart = "always";
depends_on = [
dependsOn = [
"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;
};
};
};
"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";
type = "app";
url = "https://sysctl.io";
name = "Cyberchef";
};
"flame.icon" = "home";
"flame.type" = "app";
"flame.url" = "https://sysctl.io";
"flame.name" = "Cyberchef";
};
};
}