massicot: add ssh to forgejo
This commit is contained in:
parent
a056bf6539
commit
fecdda70d7
1 changed files with 5 additions and 1 deletions
|
@ -58,6 +58,10 @@ in
|
||||||
service.DISABLE_REGISTRATION = true;
|
service.DISABLE_REGISTRATION = true;
|
||||||
server = {
|
server = {
|
||||||
ROOT_URL = "https://git.xinyang.life/";
|
ROOT_URL = "https://git.xinyang.life/";
|
||||||
|
START_SSH_SERVER = true;
|
||||||
|
BUILTIN_SSH_SERVER_USER = "git";
|
||||||
|
SSH_DOMAIN = "ssh.xinyang.life";
|
||||||
|
SSH_PORT = 2222;
|
||||||
};
|
};
|
||||||
repository = {
|
repository = {
|
||||||
ENABLE_PUSH_CREATE_USER = true;
|
ENABLE_PUSH_CREATE_USER = true;
|
||||||
|
@ -126,6 +130,6 @@ in
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 8448 ];
|
networking.firewall.allowedTCPPorts = [ 80 443 2222 8448 ];
|
||||||
networking.firewall.allowedUDPPorts = [ 80 443 8448 ];
|
networking.firewall.allowedUDPPorts = [ 80 443 8448 ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue