remove unused traefik docker provider

This commit is contained in:
Yan Lin 2026-02-14 10:28:32 +01:00
parent 7de41ebb3b
commit 7703d2f1b4

View file

@ -3,7 +3,7 @@
# CF_API_EMAIL=your-email@example.com
# CF_DNS_API_TOKEN=your-cloudflare-api-token
{ config, pkgs, lib, ... }:
{ ... }:
{
services.traefik = {
@ -13,11 +13,6 @@
dynamic.dir = "/var/lib/traefik/dynamic";
static.settings = {
providers.docker = {
endpoint = "unix:///var/run/docker.sock";
exposedByDefault = false;
network = "podman";
};
entryPoints = {
http = {
address = ":80";
@ -67,8 +62,4 @@
environmentFiles = [ "/etc/traefik-env" ];
};
systemd.services.traefik.serviceConfig = {
SupplementaryGroups = [ "podman" ];
BindPaths = [ "/run/podman/podman.sock:/var/run/docker.sock" ];
};
}