diff --git a/nixos/hosts/asxpio-ops/apps.nix b/nixos/hosts/asxpio-ops/apps.nix index 30fec07..f93c1b0 100644 --- a/nixos/hosts/asxpio-ops/apps.nix +++ b/nixos/hosts/asxpio-ops/apps.nix @@ -1,8 +1,7 @@ -# The app stacks still in containers (asxpio, vhpbot) deploy themselves -# from their own repositories: CI copies a compose file and a .env to -# /opt/ and runs `docker compose up -d` as user deploy. blog, czsk -# and datacenterbingo run on asxpio-services from their flakes (apps.nix -# there). +# vhpbot, the last app stack in containers, deploys itself from its own +# repository: CI copies a compose file and a .env to /opt/ and runs +# `docker compose up -d` as user deploy. blog, czsk, datacenterbingo and +# asxpio run on asxpio-services from their flakes (apps.nix there). # # Their compose files still expect the Docker-era storage stack: a # network named "storage" and the hosts "postgres" and "garage" on it. diff --git a/nixos/hosts/asxpio-ops/traefik.nix b/nixos/hosts/asxpio-ops/traefik.nix index 689f751..ac74d97 100644 --- a/nixos/hosts/asxpio-ops/traefik.nix +++ b/nixos/hosts/asxpio-ops/traefik.nix @@ -247,14 +247,12 @@ in "www.asxp.io" ]; url = "http://10.10.0.20:3001"; - priority = 2000; # over the container's labels until it is removed }; # Superuser logins only work here (SUPERUSER_HOST): WireGuard + VPC asxpio-admin = { hosts = [ "admin.asxp.io" ]; url = "http://10.10.0.20:3001"; middlewares = [ "internal-only" ]; - priority = 2000; }; }; diff --git a/nixos/hosts/asxpio-services/apps.nix b/nixos/hosts/asxpio-services/apps.nix index 333f12d..36b6c82 100644 --- a/nixos/hosts/asxpio-services/apps.nix +++ b/nixos/hosts/asxpio-services/apps.nix @@ -25,9 +25,8 @@ }; # The site, invoices and admin (asxp.io, admin.asxp.io), owner of the - # asxpio database and the invoice and photo buckets on asxpio-ops. Its - # monitor worker starts when the container's stops: two would record - # every sample twice. + # asxpio database and the invoice and photo buckets on asxpio-ops, and + # the reachability worker for datacenterbingo's status page. sops.secrets."asxpio/env".restartUnits = [ "asxpio.service" "asxpio-monitor.service" @@ -35,7 +34,6 @@ services.asxpio = { enable = true; # :3001 environmentFile = config.sops.secrets."asxpio/env".path; - monitor.enable = false; }; asxpio.security.ports = [