roles/dockerserver: use SupplementaryGroups instead of changing traefik group

This commit is contained in:
2025-10-15 21:05:31 -07:00
parent 86c9d43619
commit 684e5daf54

View File

@@ -37,11 +37,10 @@ in
network = dockerTraefikNetwork;
watch = true;
};
group = "docker";
};
systemd.services.traefik.serviceConfig = mkIf config.services.traefik.enable {
SupplementaryGroups = [ "docker" ];
BindReadOnlyPaths = [ dockerSocketPath ];
};
};