feat(halkyon,myrmex,train,meditate)!: a register for each app, at halkyon.li and myrmex.li (ADR 0045, step 5)
All checks were successful
CI / check (push) Successful in 46m25s
All checks were successful
CI / check (push) Successful in 46m25s
halkyon.li's deploy under Halkyon Days' names (D13, D23): the compose files compose.halkyon.yaml, compose.myrmex.yaml and compose.myrmex-search.yaml, the service myrmex-server, the images halkyon-halkyon-server, halkyon-halkyon-dictionaries and halkyon-myrmex-server, the databases halkyon_halkyon and halkyon_myrmex and the superuser halkyon_halkyon, and every variable under its service's name (LEARN_ is HALKYON_, TODO_ MYRMEX_). The Compose project and its network keep halkyon-learn, as the volumes are named after it. Every server is a register of its own (D7, D9, D20): no ACCOUNT_REGISTER_URL, INSTANCE_SECRET or INSTANCE_MEMBER_ any more; each reads its sign-in settings as <APP>_SIGN_UP, <APP>_SIMPLELOGIN_…, and so on (the mail server alone is shared), signs in with a SimpleLogin app of its own, and serves its register's pages itself: Myrmex's, Train's and Meditate's servers add the SimpleLogin callback, the privacy page and the profile pages, and their Caddy sites forward them. Halkyon answers at halkyon.li and Myrmex at myrmex.li (D22): learn.halkyon.li and todo.halkyon.li leave ramiel's HAProxy and Caddy; Halkyon's and Myrmex's builds, snaps and F-Droid listings connect to the new addresses, and Halkyon's App Links name halkyon.li. The switch is a script run once by hand (D24), as the deployed redeploy.sh can't carry the migration records nor rename an open database: deploy/host/switch-0045.sh rewrites .env (env-0045.sh: every secret kept, a decoy key made for each new register), dumps every database, renames them and the superuser through a temporary superuser in one transaction, fast-forwards, carries the migration records to the modules' new names, migrates, copies the developer's account (its keys and its operator's scope, D21) into the other registers, and starts everything. deploy/host/link-simplelogin.sh then links each register's new SimpleLogin identity to that account, found by the four words of its wait screen. Their SQL was run against PostgreSQL 16 on the databases the migrations define. redeploy.sh no longer carries records. BREAKING CHANGE: learn.halkyon.li and todo.halkyon.li no longer answer; the apps connect to halkyon.li and myrmex.li, and each app's accounts are its own. Whats-New: Each app now keeps its own accounts; Halkyon is at halkyon.li and Myrmex at myrmex.li. Whats-New-De: Jede App führt jetzt ihre eigenen Konten; Halkyon ist unter halkyon.li erreichbar und Myrmex unter myrmex.li. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
5822193ea3
commit
b4540e53cd
1 changed files with 1812 additions and 608 deletions
|
|
@ -1,20 +1,21 @@
|
|||
# Todo's server on learn.halkyon.eu's server, at todo.halkyon.eu (ADR 0033, step 5),
|
||||
# behind the instance's Caddy (deploy/compose.todo.yaml): its API and its web server
|
||||
# on the one domain, as Learn's and Train's; its database in the instance's PostgreSQL.
|
||||
# Myrmex's server at myrmex.li (Halkyon Days' ADR 0045, D22; todo.halkyon.eu, then
|
||||
# todo.halkyon.li before it), behind the instance's Caddy (deploy/compose.myrmex.yaml):
|
||||
# its API and its web server on the one domain, as Halkyon's and Train's; its database
|
||||
# in the instance's PostgreSQL.
|
||||
|
||||
# Configuration for the main API server.
|
||||
apiServer:
|
||||
port: 8080
|
||||
publicHost: todo.halkyon.eu
|
||||
publicHost: myrmex.li
|
||||
publicPort: 443
|
||||
publicScheme: https
|
||||
|
||||
# No insightsServer, as Learn's: without the block Serverpod doesn't start Insights.
|
||||
# No insightsServer, as Halkyon's: without the block Serverpod doesn't start Insights.
|
||||
|
||||
# Configuration for the web server.
|
||||
webServer:
|
||||
port: 8082
|
||||
publicHost: todo.halkyon.eu
|
||||
publicHost: myrmex.li
|
||||
publicPort: 443
|
||||
publicScheme: https
|
||||
|
||||
|
|
@ -25,8 +26,8 @@ webServer:
|
|||
database:
|
||||
host: postgres
|
||||
port: 5432
|
||||
name: halkyon_todo
|
||||
user: halkyon_todo
|
||||
name: halkyon_myrmex
|
||||
user: halkyon_myrmex
|
||||
# On the instance's own network, never leaving the server.
|
||||
requireSsl: false
|
||||
#isUnixSocket: true # defaults to false
|
||||
|
|
|
|||
Loading…
Reference in a new issue