proper ssh port
This commit is contained in:
@@ -17,12 +17,8 @@
|
||||
"gitea/dbpass" = {};
|
||||
};
|
||||
|
||||
services.openssh.ports = [
|
||||
2222
|
||||
];
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
22
|
||||
2222
|
||||
];
|
||||
|
||||
containers.gitea = {
|
||||
@@ -35,7 +31,7 @@
|
||||
forwardPorts = [
|
||||
{
|
||||
containerPort = 22;
|
||||
hostPort = 22;
|
||||
hostPort = 2222;
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user