adding filebrowser to haproxy

This commit is contained in:
Richie Cahill 2024-06-22 12:28:09 -04:00
parent 95983b77b9
commit ec00ec53a2
2 changed files with 7 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{ {
virtualisation.oci-containers.containers.filebrowser = { virtualisation.oci-containers.containers.filebrowser = {
image = "hurlenko/filebrowser"; image = "hurlenko/filebrowser";
ports = [ "8080:8080" ]; extraOptions = [ "--network=web" ];
volumes = [ volumes = [
"/ZFS:/data" "/ZFS:/data"
"/zfs/media/docker/configs/filebrowser:/config" "/zfs/media/docker/configs/filebrowser:/config"

View File

@ -21,10 +21,12 @@ frontend ContentSwitching
acl host_mirror hdr(host) -i mirror.tmmworkshop.com acl host_mirror hdr(host) -i mirror.tmmworkshop.com
acl host_dndrules hdr(host) -i dndrules.tmmworkshop.com acl host_dndrules hdr(host) -i dndrules.tmmworkshop.com
acl host_grafana hdr(host) -i grafana.tmmworkshop.com acl host_grafana hdr(host) -i grafana.tmmworkshop.com
acl host_filebrowser hdr(host) -i filebrowser.tmmworkshop.com
use_backend mirror_nodes if host_mirror use_backend mirror_nodes if host_mirror
use_backend dndrules_nodes if host_dndrules use_backend dndrules_nodes if host_dndrules
use_backend grafana_nodes if host_grafana use_backend grafana_nodes if host_grafana
use_backend filebrowser_nodes if host_filebrowser
backend mirror_nodes backend mirror_nodes
mode http mode http
@ -41,3 +43,7 @@ backend grafana_nodes
backend dndrules_nodes backend dndrules_nodes
mode http mode http
server server dnd_file_server:80 server server dnd_file_server:80
backend filebrowser_nodes
mode http
server server filebrowser:8080