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" = {
|
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";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue