dockerfy traefik

This commit is contained in:
2026-01-31 14:24:21 -06:00
parent d134f6e849
commit 05fd4f67b1
2 changed files with 2 additions and 3 deletions

View File

@@ -61,7 +61,6 @@ log:
certificatesResolvers: certificatesResolvers:
cloudflare: cloudflare:
acme: acme:
email: "nathanblunkall5@gmail.com"
storage: "/etc/traefik/acme.json" storage: "/etc/traefik/acme.json"
keyType: "EC256" keyType: "EC256"
dnsChallenge: dnsChallenge:

View File

@@ -7,7 +7,7 @@
config = lib.mkIf (config.sysconfig.docker.traefik.enable && config.sysconfig.docker.enable) { config = lib.mkIf (config.sysconfig.docker.traefik.enable && config.sysconfig.docker.enable) {
networking.firewall.allowedTCPPorts = [ 80 443 ]; networking.firewall.allowedTCPPorts = [ 80 81 443 444 ];
sops.secrets = { sops.secrets = {
"traefik/cf_email" = {}; "traefik/cf_email" = {};
@@ -41,7 +41,7 @@
image = "traefik:v3.6"; image = "traefik:v3.6";
environment = { environment = {
#TRAEFIK_CERTIFICATESRESOLVERS_CLOUDFLARE_ACME_EMAIL = "\${CF_API_EMAIL}"; TRAEFIK_CERTIFICATESRESOLVERS_CLOUDFLARE_ACME_EMAIL = "\${CF_API_EMAIL}";
}; };
environmentFiles = [ config.sops.templates."traefik.env".path ]; environmentFiles = [ config.sops.templates."traefik.env".path ];