port fix ups

This commit is contained in:
ari committed 2025-02-25 09:39:00 -05:00
1 parent 629d0fa261
commit 14d73e8498
2 files changed
+13 -3

No files matched your search

+2 -2
View File
@@ -39,7 +39,7 @@ in
enable = true; enable = true;
host = "0.0.0.0"; host = "0.0.0.0";
openFirewall = true; openFirewall = true;
port = ports.dockerRegistry; port = ports.audiobookshelf;
configDir = "/mnt/Data/audiobookshelf/config"; configDir = "/mnt/Data/audiobookshelf/config";
metadtaDir = "/mnt/Data/audiobookshelf/metadata"; metadtaDir = "/mnt/Data/audiobookshelf/metadata";
}; };
@@ -47,7 +47,7 @@ in
services.dockerRegistry = { services.dockerRegistry = {
enable = false; enable = false;
storagePath = "/mnt/Data/docker-registry"; storagePath = "/mnt/Data/docker-registry";
port = ports.audiobookshelf; port = ports.dockerRegistry;
openFirewall = true; openFirewall = true;
listenAddress = "0.0.0.0"; listenAddress = "0.0.0.0";
enableDelete = true; enableDelete = true;
+11 -1
View File
@@ -19,7 +19,17 @@ in
}; };
config = config =
let openPorts = [ 6443 80 443 ]; let
openPorts = [
6443 # api server
80
443
10250 # metrics
8472 # flannel
51820 # wireguard
10251 # scheduler
10252 # control manager
];
in in
lib.mkIf cfg.enable { lib.mkIf cfg.enable {
system.activationScripts.k3sEnv = '' system.activationScripts.k3sEnv = ''