improve security
This commit is contained in:
@@ -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" ];
|
||||
|
||||
Reference in New Issue
Block a user