.
This commit is contained in:
parent
e26e25b566
commit
be2843ca80
65 changed files with 187 additions and 39 deletions
|
|
@ -64,7 +64,7 @@ in {
|
|||
openFirewall = true;
|
||||
user = cfg.user;
|
||||
group = cfg.group;
|
||||
listenPort = 2005;
|
||||
listenPort = 2050;
|
||||
};
|
||||
|
||||
postgresql = {
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ in {
|
|||
services.mydia = {
|
||||
enable = true;
|
||||
|
||||
port = 2010;
|
||||
port = 2100;
|
||||
listenAddress = "0.0.0.0";
|
||||
openFirewall = true;
|
||||
|
||||
|
|
@ -54,7 +54,7 @@ in {
|
|||
qbittorrent = {
|
||||
type = "qbittorrent";
|
||||
host = "localhost";
|
||||
port = 2008;
|
||||
port = 2080;
|
||||
username = "admin";
|
||||
passwordFile = config.sops.secrets."mydia/qbittorrent_password".path;
|
||||
useSsl = false;
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ in {
|
|||
qbittorrent = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
webuiPort = 2008;
|
||||
webuiPort = 2080;
|
||||
serverConfig = lib.mkForce {};
|
||||
|
||||
user = "qbittorrent";
|
||||
|
|
@ -100,7 +100,7 @@ in {
|
|||
settings = {
|
||||
misc = {
|
||||
host = "0.0.0.0";
|
||||
port = 2009;
|
||||
port = 2090;
|
||||
host_whitelist = "${config.networking.hostName}";
|
||||
|
||||
permissions = "770";
|
||||
|
|
@ -126,7 +126,7 @@ in {
|
|||
flaresolverr = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
port = 2007;
|
||||
port = 2070;
|
||||
};
|
||||
|
||||
postgresql = let
|
||||
|
|
@ -239,7 +239,7 @@ in {
|
|||
username = "admin";
|
||||
password = lib.tfRef "var.qbittorrent_api_key";
|
||||
url_base = "/";
|
||||
port = 2008;
|
||||
port = 2080;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -251,7 +251,7 @@ in {
|
|||
host = "localhost";
|
||||
api_key = lib.tfRef "var.sabnzbd_api_key";
|
||||
url_base = "/";
|
||||
port = 2009;
|
||||
port = 2090;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,10 +5,10 @@ let
|
|||
|
||||
cfg = config.${namespace}.services.observability.alloy;
|
||||
|
||||
httpPort = 9700;
|
||||
otlpGrpcPort = 9701;
|
||||
otlpHttpPort = 9702;
|
||||
tempoOtlpGrpcPort = 9602;
|
||||
httpPort = 9070;
|
||||
otlpGrpcPort = 9071;
|
||||
otlpHttpPort = 9072;
|
||||
tempoOtlpGrpcPort = 9062;
|
||||
in
|
||||
{
|
||||
options.${namespace}.services.observability.alloy = {
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ in {
|
|||
|
||||
settings = {
|
||||
server = {
|
||||
http_port = 9100;
|
||||
http_port = 9010;
|
||||
http_addr = "0.0.0.0";
|
||||
domain = "ulmo";
|
||||
};
|
||||
|
|
@ -106,7 +106,7 @@ in {
|
|||
name = "Prometheus";
|
||||
uid = "prometheus";
|
||||
type = "prometheus";
|
||||
url = "http://localhost:9200";
|
||||
url = "http://localhost:9020";
|
||||
isDefault = true;
|
||||
editable = false;
|
||||
}
|
||||
|
|
@ -115,7 +115,7 @@ in {
|
|||
name = "Loki";
|
||||
uid = "loki";
|
||||
type = "loki";
|
||||
url = "http://localhost:9300";
|
||||
url = "http://localhost:9030";
|
||||
editable = false;
|
||||
}
|
||||
|
||||
|
|
@ -123,7 +123,7 @@ in {
|
|||
name = "Tempo";
|
||||
uid = "tempo";
|
||||
type = "tempo";
|
||||
url = "http://localhost:9600";
|
||||
url = "http://localhost:9060";
|
||||
editable = false;
|
||||
jsonData = {
|
||||
nodeGraph.enabled = true;
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ in
|
|||
auth_enabled = false;
|
||||
|
||||
server = {
|
||||
http_listen_port = 9300;
|
||||
http_listen_port = 9030;
|
||||
};
|
||||
|
||||
common = {
|
||||
|
|
@ -44,6 +44,6 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 9300 ];
|
||||
networking.firewall.allowedTCPPorts = [ 9030 ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ in
|
|||
config = mkIf cfg.enable {
|
||||
services.prometheus = {
|
||||
enable = true;
|
||||
port = 9200;
|
||||
port = 9020;
|
||||
extraFlags = optionals config.${namespace}.services.observability.alloy.enable [
|
||||
"--web.enable-remote-write-receiver"
|
||||
];
|
||||
|
|
@ -24,7 +24,7 @@ in
|
|||
{
|
||||
job_name = "prometheus";
|
||||
static_configs = [
|
||||
{ targets = [ "localhost:9200" ]; }
|
||||
{ targets = [ "localhost:9020" ]; }
|
||||
];
|
||||
}
|
||||
|
||||
|
|
@ -39,7 +39,7 @@ in
|
|||
{
|
||||
job_name = "alloy";
|
||||
static_configs = [
|
||||
{ targets = [ "localhost:9700" ]; }
|
||||
{ targets = [ "localhost:9070" ]; }
|
||||
];
|
||||
}
|
||||
]
|
||||
|
|
@ -47,7 +47,7 @@ in
|
|||
{
|
||||
job_name = "tempo";
|
||||
static_configs = [
|
||||
{ targets = [ "localhost:9600" ]; }
|
||||
{ targets = [ "localhost:9060" ]; }
|
||||
];
|
||||
}
|
||||
];
|
||||
|
|
@ -55,13 +55,13 @@ in
|
|||
exporters = {
|
||||
node = {
|
||||
enable = true;
|
||||
port = 9201;
|
||||
port = 9021;
|
||||
enabledCollectors = [ "systemd" ];
|
||||
openFirewall = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 9200 ];
|
||||
networking.firewall.allowedTCPPorts = [ 9020 ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ in {
|
|||
|
||||
configuration = {
|
||||
server = {
|
||||
http_listen_port = 9400;
|
||||
http_listen_port = 9040;
|
||||
grpc_listen_port = 0;
|
||||
};
|
||||
|
||||
|
|
@ -35,7 +35,7 @@ in {
|
|||
|
||||
clients = [
|
||||
{
|
||||
url = "http://[::1]:9300/loki/api/v1/push";
|
||||
url = "http://[::1]:9030/loki/api/v1/push";
|
||||
}
|
||||
];
|
||||
|
||||
|
|
@ -60,6 +60,6 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [9400];
|
||||
networking.firewall.allowedTCPPorts = [9040];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@ let
|
|||
|
||||
cfg = config.${namespace}.services.observability.tempo;
|
||||
|
||||
httpPort = 9600;
|
||||
grpcPort = 9601;
|
||||
otlpGrpcPort = 9602;
|
||||
otlpHttpPort = 9603;
|
||||
httpPort = 9060;
|
||||
grpcPort = 9061;
|
||||
otlpGrpcPort = 9062;
|
||||
otlpHttpPort = 9063;
|
||||
in
|
||||
{
|
||||
options.${namespace}.services.observability.tempo = {
|
||||
|
|
|
|||
|
|
@ -15,11 +15,11 @@ in
|
|||
enable = true;
|
||||
|
||||
settings = {
|
||||
PORT = toString 9500;
|
||||
PORT = toString 9050;
|
||||
HOST = "0.0.0.0";
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 9500 ];
|
||||
networking.firewall.allowedTCPPorts = [ 9050 ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue