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
kredits-github Cookbook
This cookbook installs kredits-github.
Attributes
kredits-github::default
| Key | Type | Description | Default |
|---|---|---|---|
| ['kredits-github']['port'] | String | The local port that kredits-github is running on | 3000 |
| ['kredits-github']['revision'] | String | Git revision/branch to deploy | master |
| ['kredits-github']['domain'] | String | Domain name for requests to the app | kredits-github.kosmos.org |