mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Move Audiobookshelf service to nixnuc
This commit is contained in:
parent
e94b7586cb
commit
7878e5438f
2 changed files with 7 additions and 3 deletions
|
|
@ -94,7 +94,7 @@ in {
|
||||||
acmeRoot = null;
|
acmeRoot = null;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/".proxyWebsockets = true;
|
locations."/".proxyWebsockets = true;
|
||||||
locations."/".proxyPass = "http://${mini_watcher}:13378";
|
locations."/".proxyPass = "http://${backend_ip}:13378";
|
||||||
};
|
};
|
||||||
"atuin.${home_domain}" = {
|
"atuin.${home_domain}" = {
|
||||||
listen = [{ port = https_port; addr = "0.0.0.0"; ssl = true; }];
|
listen = [{ port = https_port; addr = "0.0.0.0"; ssl = true; }];
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
firewall.allowedTCPPorts = [ 22 80 ];
|
firewall.allowedTCPPorts = [ 22 80 13378];
|
||||||
# firewall.allowedUDPPorts = [ ... ];
|
# firewall.allowedUDPPorts = [ ... ];
|
||||||
# Or disable the firewall altogether.
|
# Or disable the firewall altogether.
|
||||||
# firewall.enable = false;
|
# firewall.enable = false;
|
||||||
|
|
@ -60,7 +60,11 @@
|
||||||
};
|
};
|
||||||
interfaces = {
|
interfaces = {
|
||||||
eno1.useDHCP = true;
|
eno1.useDHCP = true;
|
||||||
br1-23.useDHCP = false;
|
br1-23 = {
|
||||||
|
useDHCP = false;
|
||||||
|
# This enables the container attached to the bridge to be reachable
|
||||||
|
ipv4.routes = [{ address = "192.168.23.21"; prefixLength = 32; }];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue