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