voyager: adjust gitea
This commit is contained in:
parent
e7347ff4dc
commit
61ae9b1c22
|
@ -3,6 +3,7 @@ let
|
|||
cfg = config.services.gitea;
|
||||
domain = "git.feal.no";
|
||||
httpPort = 3004;
|
||||
/* sshPort = 2222; */
|
||||
in {
|
||||
services.gitea = {
|
||||
enable = true;
|
||||
|
@ -16,6 +17,8 @@ in {
|
|||
server = {
|
||||
LANDING_PAGE=''"/felixalb"'';
|
||||
HTTP_PORT = httpPort;
|
||||
/* SSH_PORT = sshPort; */
|
||||
SSH_DOMAIN = "voyager.home.feal.no";
|
||||
DOMAIN = domain;
|
||||
ROOT_URL = "https://${domain}";
|
||||
};
|
||||
|
@ -48,5 +51,6 @@ in {
|
|||
# - configure mailer
|
||||
};
|
||||
|
||||
/* networking.firewall.allowedTCPPorts = [ httpPort sshPort ]; */
|
||||
networking.firewall.allowedTCPPorts = [ httpPort ];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue