feat(homelab): open port 2223 and define GITEA_SSH_PORT for containerized SSH access
- Add TCP port `2223` to firewall allowed ports in `hosts/desktop/homeserver.nix` and `hosts/server/homeserver.nix`. - Introduce `GITEA_SSH_PORT = "2223"` environment setting in `traefik-deployments.nix` for both desktop and server nodes.
This commit is contained in:
1 parent
d1d059d6a4
commit
aa41800fc9
4 files changed
+6
-4
No files matched your search
@@ -63,6 +63,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# 4. Open ports in the firewall for Traefik
|
# 4. Open ports in the firewall for Traefik and Gitea SSH
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
networking.firewall.allowedTCPPorts = [ 80 443 2223 ];
|
||||||
}
|
}
|
||||||
@@ -43,6 +43,7 @@
|
|||||||
# --- Gitea ---
|
# --- Gitea ---
|
||||||
GITEA_DOMAIN = "gitea.roadtotech.me";
|
GITEA_DOMAIN = "gitea.roadtotech.me";
|
||||||
GITEA_SSH_DOMAIN = "gitea.roadtotech.me";
|
GITEA_SSH_DOMAIN = "gitea.roadtotech.me";
|
||||||
|
GITEA_SSH_PORT = "2223";
|
||||||
GITEA_AUTH_MIDDLEWARE = "https-redirect@docker";
|
GITEA_AUTH_MIDDLEWARE = "https-redirect@docker";
|
||||||
|
|
||||||
# --- Jellyfin ---
|
# --- Jellyfin ---
|
||||||
|
|||||||
@@ -63,6 +63,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# 4. Open ports in the firewall for Traefik
|
# 4. Open ports in the firewall for Traefik and Gitea SSH
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
networking.firewall.allowedTCPPorts = [ 80 443 2223 ];
|
||||||
}
|
}
|
||||||
@@ -43,6 +43,7 @@
|
|||||||
# --- Gitea ---
|
# --- Gitea ---
|
||||||
GITEA_DOMAIN = "gitea.roadtotech.me";
|
GITEA_DOMAIN = "gitea.roadtotech.me";
|
||||||
GITEA_SSH_DOMAIN = "gitea.roadtotech.me";
|
GITEA_SSH_DOMAIN = "gitea.roadtotech.me";
|
||||||
|
GITEA_SSH_PORT = "2223";
|
||||||
GITEA_AUTH_MIDDLEWARE = "https-redirect@docker";
|
GITEA_AUTH_MIDDLEWARE = "https-redirect@docker";
|
||||||
|
|
||||||
# --- Jellyfin ---
|
# --- Jellyfin ---
|
||||||
|
|||||||
Reference in new issue
Block a user