2023-11-18 16:59:16 +08:00
|
|
|
{ ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
services.traefik.dynamicConfigOptions.http.routers = {
|
|
|
|
microbin = {
|
2023-11-20 06:41:07 +08:00
|
|
|
rule = "Host(`bin.kanto.dev`)";
|
2023-11-18 16:59:16 +08:00
|
|
|
entryPoints = [
|
|
|
|
"websecure"
|
|
|
|
];
|
|
|
|
middlewares = [
|
2023-11-20 06:41:07 +08:00
|
|
|
"internal"
|
2023-11-18 16:59:16 +08:00
|
|
|
];
|
|
|
|
service = "microbin";
|
|
|
|
};
|
|
|
|
|
|
|
|
homarr = {
|
|
|
|
rule = "Host(`kanto.dev`)";
|
|
|
|
entryPoints = [
|
|
|
|
"websecure"
|
|
|
|
];
|
|
|
|
middlewares = [
|
2023-11-20 06:41:07 +08:00
|
|
|
"admin"
|
2023-11-18 16:59:16 +08:00
|
|
|
];
|
|
|
|
service = "homarr";
|
|
|
|
};
|
|
|
|
|
|
|
|
traefik-dashboard = {
|
|
|
|
rule = "Host(`traefik.kanto.dev`)";
|
|
|
|
entryPoints = [
|
|
|
|
"websecure"
|
|
|
|
];
|
|
|
|
middlewares = [
|
2023-11-20 06:41:07 +08:00
|
|
|
"admin"
|
2023-11-18 16:59:16 +08:00
|
|
|
];
|
|
|
|
service = "api@internal";
|
|
|
|
};
|
|
|
|
|
|
|
|
adguard-home = {
|
|
|
|
rule = "Host(`adguard.kanto.dev`)";
|
|
|
|
entryPoints = [
|
|
|
|
"websecure"
|
|
|
|
];
|
|
|
|
middlewares = [
|
2023-11-20 06:41:07 +08:00
|
|
|
"admin"
|
2023-11-18 16:59:16 +08:00
|
|
|
];
|
|
|
|
service = "adguard-home";
|
|
|
|
};
|
|
|
|
|
|
|
|
home-assistant = {
|
|
|
|
rule = "Host(`home.kanto.dev`)";
|
|
|
|
entryPoints = [
|
|
|
|
"websecure"
|
|
|
|
];
|
|
|
|
middlewares = [
|
2023-11-20 06:41:07 +08:00
|
|
|
"admin"
|
2023-11-18 16:59:16 +08:00
|
|
|
];
|
|
|
|
service = "home-assistant";
|
|
|
|
};
|
|
|
|
|
|
|
|
minecraft = {
|
|
|
|
rule = "Host(`mc.kanto.dev`)";
|
|
|
|
entryPoints = [
|
|
|
|
"websecure"
|
|
|
|
];
|
|
|
|
middlewares = [
|
|
|
|
"internal"
|
|
|
|
];
|
|
|
|
service = "minecraft";
|
|
|
|
};
|
|
|
|
|
|
|
|
jellyfin = {
|
|
|
|
rule = "Host(`jf.kanto.dev`)";
|
|
|
|
entryPoints = [
|
|
|
|
"websecure"
|
|
|
|
];
|
|
|
|
middlewares = [
|
2023-11-20 06:41:07 +08:00
|
|
|
"internal"
|
2023-11-18 16:59:16 +08:00
|
|
|
];
|
|
|
|
service = "jellyfin";
|
|
|
|
};
|
|
|
|
|
|
|
|
sonarr = {
|
|
|
|
rule = "Host(`sonarr.kanto.dev`)";
|
|
|
|
entryPoints = [
|
|
|
|
"websecure"
|
|
|
|
];
|
|
|
|
middlewares = [
|
2023-11-20 06:41:07 +08:00
|
|
|
"admin"
|
2023-11-18 16:59:16 +08:00
|
|
|
];
|
|
|
|
service = "sonarr";
|
|
|
|
};
|
|
|
|
|
|
|
|
radarr = {
|
|
|
|
rule = "Host(`radarr.kanto.dev`)";
|
|
|
|
entryPoints = [
|
|
|
|
"websecure"
|
|
|
|
];
|
|
|
|
middlewares = [
|
2023-11-20 06:41:07 +08:00
|
|
|
"admin"
|
2023-11-18 16:59:16 +08:00
|
|
|
];
|
|
|
|
service = "radarr";
|
|
|
|
};
|
|
|
|
|
|
|
|
lidarr = {
|
|
|
|
rule = "Host(`lidarr.kanto.dev`)";
|
|
|
|
entryPoints = [
|
|
|
|
"websecure"
|
|
|
|
];
|
|
|
|
middlewares = [
|
2023-11-20 06:41:07 +08:00
|
|
|
"admin"
|
2023-11-18 16:59:16 +08:00
|
|
|
];
|
|
|
|
service = "lidarr";
|
|
|
|
};
|
|
|
|
|
|
|
|
prowlarr = {
|
|
|
|
rule = "Host(`prowlarr.kanto.dev`)";
|
|
|
|
entryPoints = [
|
|
|
|
"websecure"
|
|
|
|
];
|
|
|
|
middlewares = [
|
2023-11-20 06:41:07 +08:00
|
|
|
"admin"
|
2023-11-18 16:59:16 +08:00
|
|
|
];
|
|
|
|
service = "prowlarr";
|
|
|
|
};
|
|
|
|
|
|
|
|
qbittorrent = {
|
|
|
|
rule = "Host(`qbittorrent.kanto.dev`)";
|
|
|
|
entryPoints = [
|
|
|
|
"websecure"
|
|
|
|
];
|
|
|
|
middlewares = [
|
2023-11-20 06:41:07 +08:00
|
|
|
"admin"
|
2023-11-18 16:59:16 +08:00
|
|
|
];
|
|
|
|
service = "qbittorrent";
|
|
|
|
};
|
|
|
|
|
|
|
|
jellyseerr = {
|
2023-12-01 05:39:38 +08:00
|
|
|
rule = "Host(`js.kanto.dev`)";
|
2023-11-18 16:59:16 +08:00
|
|
|
entryPoints = [
|
|
|
|
"websecure"
|
|
|
|
];
|
|
|
|
middlewares = [
|
|
|
|
"internal"
|
|
|
|
];
|
|
|
|
service = "jellyseerr";
|
|
|
|
};
|
2023-12-19 09:21:05 +08:00
|
|
|
|
|
|
|
nextcloud = {
|
|
|
|
rule = "Host(`nc.kanto.dev`)";
|
|
|
|
entryPoints = [
|
|
|
|
"websecure"
|
|
|
|
];
|
|
|
|
middlewares = [
|
|
|
|
# "internal"
|
|
|
|
"nextcloud-chain"
|
|
|
|
];
|
|
|
|
service = "nextcloud";
|
|
|
|
};
|
2023-11-18 16:59:16 +08:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|