try n8n
This commit is contained in:
@@ -14,6 +14,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf (config.sysconfig.docker."${name}".enable && config.sysconfig.docker.enable) {
|
config = lib.mkIf (config.sysconfig.docker."${name}".enable && config.sysconfig.docker.enable) {
|
||||||
|
|
||||||
|
|
||||||
networking.firewall.interfaces = {
|
networking.firewall.interfaces = {
|
||||||
"ve-traefik" = {
|
"ve-traefik" = {
|
||||||
@@ -39,8 +40,8 @@ in {
|
|||||||
"traefik.http.routers.${name}.service" = "${name}";
|
"traefik.http.routers.${name}.service" = "${name}";
|
||||||
"traefik.http.routers.${name}.tls.certResolver" = "cloudflare";
|
"traefik.http.routers.${name}.tls.certResolver" = "cloudflare";
|
||||||
|
|
||||||
"traefik.http.services.${name}.loadbalancer.server.port" = "5678";
|
"traefik.http.services.${name}.loadbalancer.server.url" = "http://127.0.0.1:5678";
|
||||||
# "traefik.http.services.${name}.loadbalancer.server.url" = "http://192.168.100.10:${builtins.toString hostPort}";
|
#"traefik.http.services.${name}.loadbalancer.server.url" = "http://192.168.100.10:${builtins.toString hostPort}";
|
||||||
};
|
};
|
||||||
|
|
||||||
extraOptions = lib.mkIf config.sysconfig.docker.nvidia [
|
extraOptions = lib.mkIf config.sysconfig.docker.nvidia [
|
||||||
@@ -48,7 +49,8 @@ in {
|
|||||||
];
|
];
|
||||||
|
|
||||||
ports = [
|
ports = [
|
||||||
# "${builtins.toString hostPort}:5678"
|
"${builtins.toString hostPort}:5678"
|
||||||
|
"192.168.100.11:5678:5678"
|
||||||
];
|
];
|
||||||
|
|
||||||
volumes = [
|
volumes = [
|
||||||
|
|||||||
Reference in New Issue
Block a user