networking
This commit is contained in:
@@ -11,6 +11,16 @@
|
|||||||
ollama
|
ollama
|
||||||
];
|
];
|
||||||
|
|
||||||
|
networking.firewall.interfaces = {
|
||||||
|
"ve-traefik" = {
|
||||||
|
allowedTCPPorts = [ 11434 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
"ve-openwebui" = {
|
||||||
|
allowedTCPPorts = [ 11434 ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
virtualisation.oci-containers.containers.ollama = {
|
virtualisation.oci-containers.containers.ollama = {
|
||||||
image = "ollama/ollama:latest";
|
image = "ollama/ollama:latest";
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,13 @@
|
|||||||
user = "root";
|
user = "root";
|
||||||
mode = "0664";
|
mode = "0664";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
networking.firewall.interfaces = {
|
||||||
|
"ve-traefik" = {
|
||||||
|
allowedTCPPorts = [ 9001 ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
virtualisation.oci-containers.containers.pihole = {
|
virtualisation.oci-containers.containers.pihole = {
|
||||||
image = "pihole/pihole:latest";
|
image = "pihole/pihole:latest";
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,12 @@
|
|||||||
|
|
||||||
config = lib.mkIf (config.sysconfig.docker.portainer.enable && config.sysconfig.docker.enable) {
|
config = lib.mkIf (config.sysconfig.docker.portainer.enable && config.sysconfig.docker.enable) {
|
||||||
|
|
||||||
|
networking.firewall.interfaces = {
|
||||||
|
"ve-traefik" = {
|
||||||
|
allowedTCPPorts = [ 9000 ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
virtualisation.oci-containers.containers.portainer = {
|
virtualisation.oci-containers.containers.portainer = {
|
||||||
image = "portainer/portainer-ce:latest";
|
image = "portainer/portainer-ce:latest";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user