🔧 update traefik config
This commit is contained in:
parent
673f62f6d5
commit
baad77a1ab
@ -4,6 +4,9 @@
|
||||
services.traefik = {
|
||||
enable = true;
|
||||
group = "docker";
|
||||
environmentFiles = [
|
||||
config.sops.secrets.traefik.path
|
||||
];
|
||||
staticConfigOptions = {
|
||||
api = {
|
||||
dashboard = true;
|
||||
@ -41,11 +44,6 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
systemd.services.traefik = {
|
||||
serviceConfig = {
|
||||
EnvironmentFile = config.sops.secrets.traefik.path;
|
||||
};
|
||||
};
|
||||
|
||||
sops.secrets.traefik = {
|
||||
owner = "traefik";
|
||||
|
Loading…
Reference in New Issue
Block a user