networking

This commit is contained in:
2026-01-19 19:36:09 -06:00
parent 761624c21c
commit b7763031dd
3 changed files with 23 additions and 1 deletions

View File

@@ -11,6 +11,16 @@
ollama
];
networking.firewall.interfaces = {
"ve-traefik" = {
allowedTCPPorts = [ 11434 ];
};
"ve-openwebui" = {
allowedTCPPorts = [ 11434 ];
};
};
virtualisation.oci-containers.containers.ollama = {
image = "ollama/ollama:latest";

View File

@@ -19,7 +19,13 @@
user = "root";
mode = "0664";
};
networking.firewall.interfaces = {
"ve-traefik" = {
allowedTCPPorts = [ 9001 ];
};
};
virtualisation.oci-containers.containers.pihole = {
image = "pihole/pihole:latest";

View File

@@ -7,6 +7,12 @@
config = lib.mkIf (config.sysconfig.docker.portainer.enable && config.sysconfig.docker.enable) {
networking.firewall.interfaces = {
"ve-traefik" = {
allowedTCPPorts = [ 9000 ];
};
};
virtualisation.oci-containers.containers.portainer = {
image = "portainer/portainer-ce:latest";