Test
This commit is contained in:
parent
35907230c9
commit
c1f13fb327
1 changed files with 14 additions and 25 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue