diff --git a/systems/jeeves/docker/haproxy.cfg b/systems/jeeves/docker/haproxy.cfg index 4c1dee3..d12a20e 100644 --- a/systems/jeeves/docker/haproxy.cfg +++ b/systems/jeeves/docker/haproxy.cfg @@ -25,17 +25,19 @@ frontend ContentSwitching bind *:443 ssl crt /etc/ssl/certs/cloudflare.pem mode http # tmmworkshop.com - acl host_mirror hdr(host) -i mirror.tmmworkshop.com - acl host_grafana hdr(host) -i grafana.tmmworkshop.com - acl host_filebrowser hdr(host) -i filebrowser.tmmworkshop.com - acl host_uptime_kuma hdr(host) -i uptimekuma-jeeves.tmmworkshop.com + acl host_audiobookshelf hdr(host) -i audiobookshelf.tmmworkshop.com acl host_cache hdr(host) -i cache.tmmworkshop.com + acl host_filebrowser hdr(host) -i filebrowser.tmmworkshop.com + acl host_grafana hdr(host) -i grafana.tmmworkshop.com + acl host_mirror hdr(host) -i mirror.tmmworkshop.com + acl host_uptime_kuma hdr(host) -i uptimekuma-jeeves.tmmworkshop.com - use_backend mirror_nodes if host_mirror - use_backend grafana_nodes if host_grafana - use_backend filebrowser_nodes if host_filebrowser - use_backend uptime_kuma_nodes if host_uptime_kuma + use_backend audiobookshelf_nodes if host_audiobookshelf use_backend cache_nodes if host_cache + use_backend filebrowser_nodes if host_filebrowser + use_backend grafana_nodes if host_grafana + use_backend mirror_nodes if host_mirror + use_backend uptime_kuma_nodes if host_uptime_kuma backend mirror_nodes mode http @@ -60,3 +62,7 @@ backend uptime_kuma_nodes backend cache_nodes mode http server server 192.168.90.40:5000 + +backend audiobookshelf_nodes + mode http + server server audiobookshelf:80 diff --git a/systems/jeeves/docker/web.nix b/systems/jeeves/docker/web.nix index 9b34fb1..c071504 100644 --- a/systems/jeeves/docker/web.nix +++ b/systems/jeeves/docker/web.nix @@ -15,6 +15,7 @@ in environment = { TZ = "America/New_York"; }; + extraOptions = [ "--network=web" ]; autoStart = true; }; grafana = { @@ -36,6 +37,7 @@ in ]; dependsOn = [ "arch_mirror" + "audiobookshelf" "filebrowser" "grafana" "uptime_kuma"