refactor traefik + add open-webui service
This commit is contained in:
parent
2f545a818f
commit
969075a5de
4 changed files with 30 additions and 11 deletions
|
|
@ -9,6 +9,8 @@
|
|||
imports = [
|
||||
"${inputs.nixpkgs-unstable}/nixos/modules/services/web-servers/traefik.nix"
|
||||
./middlewares.nix
|
||||
./routers.nix
|
||||
./services.nix
|
||||
];
|
||||
|
||||
age.secrets.traefik = {
|
||||
|
|
@ -154,17 +156,6 @@
|
|||
insecureSkipVerify = true;
|
||||
};
|
||||
};
|
||||
|
||||
# Setup our dashboard
|
||||
dynamicConfigOptions.http.routers = {
|
||||
traefik-dashboard = {
|
||||
rule = "Host(`traefik.home.arpa`)";
|
||||
entryPoints = [
|
||||
"websecure"
|
||||
];
|
||||
service = "api@internal";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Persist our traefik data & logs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue