Serve kredits-github via openresty, on Node 22

Move kredits-github onto Node 22.23.4 and behind the openresty reverse proxy
on the proxy hosts, replacing its own nginx + the custom haproxy entry.

- pin Node 22.23.4; run the app with HOST=0.0.0.0 / NODE_ENV=production and
  open port 3000 to 10.1.1.0/24 so the proxy can reach it over ZeroTier
- create /opt/kredits-github owned by the deploy user before cloning
- add kredits-github::nginx_proxy (tls_cert_for + openresty_site, upstream
  from role:kredits_github) and register it in the openresty_proxy run list
- drop the app-node nginx recipe/template and its role entry
This commit is contained in:
raucao committed 2026-10-28 18:22:21 +04:00
1 parent bd4a6501ab
commit 44f86d3f07
8 files changed
+82 -79

No files matched your search

-1
View File
@@ -2,5 +2,4 @@ name "kredits_github"
run_list %w(
kredits-github::default
kredits-github::nginx
)