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