gitea: listen on 3001
This commit is contained in:
1
data.nix
1
data.nix
@@ -9,6 +9,7 @@ rec {
|
|||||||
|
|
||||||
ports = {
|
ports = {
|
||||||
grafana = 3000;
|
grafana = 3000;
|
||||||
|
gitea = 3001;
|
||||||
prometheus = 9001;
|
prometheus = 9001;
|
||||||
exporters = {
|
exporters = {
|
||||||
node = 9002;
|
node = 9002;
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
LANDING_PAGE = "/motiejus";
|
LANDING_PAGE = "/motiejus";
|
||||||
ROOT_URL = "https://git.jakstys.lt";
|
ROOT_URL = "https://git.jakstys.lt";
|
||||||
HTTP_ADDR = "127.0.0.1";
|
HTTP_ADDR = "127.0.0.1";
|
||||||
HTTP_PORT = 3000;
|
HTTP_PORT = myData.ports.gitea;
|
||||||
DOMAIN = "git.jakstys.lt";
|
DOMAIN = "git.jakstys.lt";
|
||||||
};
|
};
|
||||||
service = {
|
service = {
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
|
|
||||||
caddy = {
|
caddy = {
|
||||||
virtualHosts."git.jakstys.lt".extraConfig = ''
|
virtualHosts."git.jakstys.lt".extraConfig = ''
|
||||||
reverse_proxy 127.0.0.1:3000
|
reverse_proxy 127.0.0.1:${toString myData.ports.gitea}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user