File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 9191 hbt-main-port = 3013 ;
9292 hbt-banana-port = 3014 ;
9393
94+ warrior-port = 3015 ;
95+ warrior-hostname = "warrior.wiro.world" ;
96+
9497 prometheus-port = 9001 ;
9598 prometheus-node-exporter-port = 9002 ;
9699 headscale-metrics-port = 9003 ;
283286 virtualHosts . "banana.hypixel-bank-tracker.xyz" . extraConfig = ''
284287 reverse_proxy http://localhost:${ toString hbt-banana-port }
285288 '' ;
289+
290+ virtualHosts . ${ warrior-hostname } . extraConfig = ''
291+ forward_auth localhost:${ toString authelia-port } {
292+ uri /api/authz/forward-auth
293+ }
294+ reverse_proxy http://localhost:${ toString warrior-port }
295+ '' ;
286296 } ;
287297
288298 age . secrets . pds-env . file = ../../secrets/pds-env.age ;
601611 ] ;
602612 } ;
603613
604-
605614 notifier . smtp = {
606615 address = "smtp://smtp.resend.com:2587" ;
607616 username = "resend" ;
710719 port = hbt-banana-port ;
711720 environmentFile = config . age . secrets . hypixel-bank-tracker-banana . path ;
712721 } ;
722+
723+ virtualisation . oci-containers . containers . archive-warrior = {
724+ image = "atdr.meo.ws/archiveteam/warrior-dockerfile" ;
725+ ports = [ "127.0.0.1:${ toString warrior-port } :8001" ] ;
726+ pull = "newer" ;
727+ } ;
713728 } ;
714729}
You can’t perform that action at this time.
0 commit comments