pass wyoming services through altered ports
This commit is contained in:
@@ -97,7 +97,7 @@
|
|||||||
hostName = "homebox";
|
hostName = "homebox";
|
||||||
nameservers = [ "1.1.1.1" "1.0.0.1" ];
|
nameservers = [ "1.1.1.1" "1.0.0.1" ];
|
||||||
networkmanager.enable = true;
|
networkmanager.enable = true;
|
||||||
firewall.allowedTCPPorts = [ 22 80 443 ];
|
firewall.allowedTCPPorts = [ 22 80 443 8002 8003 8004 8005 ];
|
||||||
firewall.interfaces."ve-traefik".allowedTCPPorts = [
|
firewall.interfaces."ve-traefik".allowedTCPPorts = [
|
||||||
9000
|
9000
|
||||||
8080
|
8080
|
||||||
|
|||||||
@@ -30,6 +30,26 @@
|
|||||||
containerPort = 9443;
|
containerPort = 9443;
|
||||||
hostPort = 9443;
|
hostPort = 9443;
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
containerPort = 8002;
|
||||||
|
hostPort = 8002;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
containerPort = 8003;
|
||||||
|
hostPort = 8003;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
containerPort = 8004;
|
||||||
|
hostPort = 8004;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
containerPort = 8005;
|
||||||
|
hostPort = 8005;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
bindMounts = {
|
bindMounts = {
|
||||||
@@ -72,7 +92,6 @@
|
|||||||
|
|
||||||
localsecure = {
|
localsecure = {
|
||||||
address = ":9443";
|
address = ":9443";
|
||||||
asDefault = true;
|
|
||||||
http.tls.certResolver = "cloudflare";
|
http.tls.certResolver = "cloudflare";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -95,16 +114,16 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
openWakeWord = {
|
openWakeWord = {
|
||||||
address = ":11432";
|
address = ":8002";
|
||||||
};
|
};
|
||||||
faster-whisper = {
|
faster-whisper = {
|
||||||
address = ":11433";
|
address = ":8003";
|
||||||
};
|
};
|
||||||
ollama = {
|
ollama = {
|
||||||
address = ":11434";
|
address = ":8004";
|
||||||
};
|
};
|
||||||
piper = {
|
piper = {
|
||||||
address = ":11435";
|
address = ":8005";
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
@@ -138,26 +157,22 @@
|
|||||||
tcp = {
|
tcp = {
|
||||||
routers = {
|
routers = {
|
||||||
openWakeWord = {
|
openWakeWord = {
|
||||||
entryPoints = [ "websecure" ];
|
entryPoints = [ "openWakeWord" ];
|
||||||
rule = "Path(`/api/openWakeWord`)";
|
|
||||||
service = "openWakeWord";
|
service = "openWakeWord";
|
||||||
tls.certResolver = "cloudflare";
|
tls.certResolver = "cloudflare";
|
||||||
};
|
};
|
||||||
faster-whisper = {
|
faster-whisper = {
|
||||||
entryPoints = [ "websecure" ];
|
entryPoints = [ "faster-whisper" ];
|
||||||
rule = "Path(`/api/faster-whisper`)";
|
|
||||||
service = "faster-whisper";
|
service = "faster-whisper";
|
||||||
tls.certResolver = "cloudflare";
|
tls.certResolver = "cloudflare";
|
||||||
};
|
};
|
||||||
ollama = {
|
ollama = {
|
||||||
entryPoints = [ "websecure" ];
|
entryPoints = [ "ollama" ];
|
||||||
rule = "Path(`/api/ollama`)";
|
|
||||||
service = "ollama";
|
service = "ollama";
|
||||||
tls.certResolver = "cloudflare";
|
tls.certResolver = "cloudflare";
|
||||||
};
|
};
|
||||||
piper = {
|
piper = {
|
||||||
entryPoints = [ "websecure" ];
|
entryPoints = [ "piper" ];
|
||||||
rule = "Path(`/api/piper`)";
|
|
||||||
service = "piper";
|
service = "piper";
|
||||||
tls.certResolver = "cloudflare";
|
tls.certResolver = "cloudflare";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user