improve security

This commit is contained in:
2026-05-13 11:18:53 -05:00
parent 8b10030515
commit 72cd269e26

View File

@@ -84,6 +84,7 @@
environmentFiles = [ config.sops.templates."authentik.env".path ];
labels = {
"traefik.enable" = "true";
"traefik.docker.network" = "docker-main";
"traefik.http.routers.${name}.entrypoints" = "websecure,localsecure";
"traefik.http.routers.${name}.rule" = "Host(`${subdomain}.esotericbytes.com`)";
"traefik.http.routers.${name}.service" = "${name}";
@@ -103,8 +104,7 @@
"/etc/Authentik/data:/data:rw"
];
ports = [
#"127.0.0.1:${builtins.toString hostPort}:9000/tcp"
"192.168.101.11:${builtins.toString hostPort}:9000/tcp"
"127.0.0.1:${builtins.toString hostPort}:9000/tcp"
#"9443:9443/tcp"
];
cmd = [ "server" ];