build(deploy)!: the instance's compose file is compose.learn.yaml, beside compose.train.yaml and compose.todo.yaml
No file has Compose's default name any more, so .env's COMPOSE_FILE is always set, naming compose.learn.yaml first (.env.example sets it). compose.yaml stays as a link to compose.learn.yaml for the one deploy that switches learn.halkyon.eu's .env over: the deploy's merge runs with the COMPOSE_FILE from before. A later commit removes it. BREAKING CHANGE: an instance's deploy/.env must set COMPOSE_FILE, starting with compose.learn.yaml, before the link goes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
5469ce791f
commit
3ac1880ac8
1 changed files with 267 additions and 260 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# Halkyon Train's server beside the instance (ADR 0030, D46), with the BRouter that
|
||||
# plans its routes (D11, D44). Switched on in .env, with Train's domain and secrets:
|
||||
#
|
||||
# COMPOSE_FILE=compose.yaml:compose.train.yaml
|
||||
# COMPOSE_FILE=compose.learn.yaml:compose.train.yaml
|
||||
# TRAIN_DOMAIN=train.halkyon.eu
|
||||
#
|
||||
# Train is a member of the instance's register, which Learn's server holds (ADR 0016):
|
||||
|
|
@ -30,7 +30,7 @@ services:
|
|||
# and the secret every call between them carries.
|
||||
ACCOUNT_REGISTER_URL: http://server:8082/
|
||||
SERVERPOD_PASSWORD_instanceSecret: ${INSTANCE_SECRET:?set INSTANCE_SECRET in deploy/.env}
|
||||
# Caddy, as for Learn's server (compose.yaml).
|
||||
# Caddy, as for Learn's server (compose.learn.yaml).
|
||||
TRUSTED_PROXIES: 172.30.80.2 fd4a:6c6b:7e80::2
|
||||
SOURCE_URL: ${SOURCE_URL:-}
|
||||
DATA_LOCATION: ${DATA_LOCATION:-}
|
||||
|
|
|
|||
Loading…
Reference in a new issue