yep, more dotfiles

server: add (back) archive-warrior

This reverts commit 88c6d4ad9fb63894a2810f50ac9d8e9399587ec4.

wiro.world 6f79a1c8 be28e248

verified
+16 -1
+16 -1
nixos/profiles/server.nix
··· 91 91 hbt-main-port = 3013; 92 92 hbt-banana-port = 3014; 93 93 94 + warrior-port = 3015; 95 + warrior-hostname = "warrior.wiro.world"; 96 + 94 97 prometheus-port = 9001; 95 98 prometheus-node-exporter-port = 9002; 96 99 headscale-metrics-port = 9003; ··· 282 285 ''; 283 286 virtualHosts."banana.hypixel-bank-tracker.xyz".extraConfig = '' 284 287 reverse_proxy http://localhost:${toString hbt-banana-port} 288 + ''; 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} 285 295 ''; 286 296 }; 287 297 ··· 601 611 ]; 602 612 }; 603 613 604 - 605 614 notifier.smtp = { 606 615 address = "smtp://smtp.resend.com:2587"; 607 616 username = "resend"; ··· 709 718 710 719 port = hbt-banana-port; 711 720 environmentFile = config.age.secrets.hypixel-bank-tracker-banana.path; 721 + }; 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"; 712 727 }; 713 728 }; 714 729 }