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
13 lines
363 B
Ruby
13 lines
363 B
Ruby
name 'kredits-github'
|
|
maintainer 'Kosmos'
|
|
maintainer_email 'mail@kosmos.org'
|
|
license 'MIT'
|
|
description 'Installs/Configures kredits-github'
|
|
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
|
|
version '0.1.0'
|
|
|
|
depends 'firewall'
|
|
depends 'kosmos-base'
|
|
depends 'kosmos-nodejs'
|
|
depends 'kosmos_openresty'
|