The stack for portal 1.0: a store of its own, gdo and kron dialling the site
Portal 1.0 keeps everything in one file (portal_data) and has no NATS. gdo and kron dial it over dhd/1 from loopback, so the three share one network namespace, held by a container of its own: held by portal, a restart of portal cut the other two off. NATS stays behind a profile nothing turns on, for going back; the chat (cnats) is out. The deploy writes DHD_KEYS and the hash of LOAD_TOKEN, and no NATS or chat settings. gdo is built from uhhm/gdo at GDO_RELEASE, since the gdo that dials a site is not in the registry. move.sh reads the programs' keys and prints what the deploy wants. Run on kasse beside the live stack, on other ports, with made-up records: mail out, a payment settled, content loaded over /dhd/1/load, and both programs back after portal was restarted and made anew. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L5fbDjTQg4CJsNqEo7hhE7
This commit is contained in:
8 files changed
+368
-260
No files matched your search
+1
-1
@@ -17,7 +17,7 @@ set -euo pipefail
|
||||
|
||||
root=/srv/tomtervel/infrastructure
|
||||
stage=/var/lib/gitea-runner/tomtervel-env
|
||||
files=(.env portal.env nats.env chat.env)
|
||||
files=(.env portal.env)
|
||||
# Written only when the site runs what needs it (Rauthy, the money
|
||||
# service under the pay profile).
|
||||
optional=(rauthy.env kron.env)
|
||||
|
||||
Reference in new issue
Block a user