2026-10-29 00:05:39 +01:00
|
|
|
# Train's server on learn.halkyon.eu's server, at train.halkyon.eu (ADR 0030, D46),
|
|
|
|
|
# behind the instance's Caddy (deploy/compose.train.yaml): its API and its web server
|
|
|
|
|
# on the one domain, as Learn's; its database in the instance's PostgreSQL.
|
feat(train): Halkyon Train's shell, Todo's copied and renamed (ADR 0030, D12)
apps/train with halkyon_train_server, _client and _flutter, as Todo's:
halkyon_base configured by trainBase(), its own register alone and a
member of the instance's where the operator names one, the app on
halkyon_app's gates with Train's frame, account sheet and About, texts
in British English and German that speak of workouts, app.halkyon.train
on Android, iOS, Linux, macOS and Windows.
Where it differs from Todo: development ports of its own (8180 to 8190),
so it runs beside Learn's server; one initial migration with the schema
Todo's migrations end at (the same tables, compared line by line), not
Todo's seventeen; and Todo's icon as a placeholder until the icon tool
of ADR 0031 draws Train's bike. The workspace, the licences, the READMEs
and AGENTS.md name it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
2026-10-28 10:26:49 +01:00
|
|
|
|
|
|
|
|
# Configuration for the main API server.
|
|
|
|
|
apiServer:
|
|
|
|
|
port: 8080
|
2026-10-29 00:05:39 +01:00
|
|
|
publicHost: train.halkyon.eu
|
feat(train): Halkyon Train's shell, Todo's copied and renamed (ADR 0030, D12)
apps/train with halkyon_train_server, _client and _flutter, as Todo's:
halkyon_base configured by trainBase(), its own register alone and a
member of the instance's where the operator names one, the app on
halkyon_app's gates with Train's frame, account sheet and About, texts
in British English and German that speak of workouts, app.halkyon.train
on Android, iOS, Linux, macOS and Windows.
Where it differs from Todo: development ports of its own (8180 to 8190),
so it runs beside Learn's server; one initial migration with the schema
Todo's migrations end at (the same tables, compared line by line), not
Todo's seventeen; and Todo's icon as a placeholder until the icon tool
of ADR 0031 draws Train's bike. The workspace, the licences, the READMEs
and AGENTS.md name it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
2026-10-28 10:26:49 +01:00
|
|
|
publicPort: 443
|
|
|
|
|
publicScheme: https
|
|
|
|
|
|
2026-10-29 00:05:39 +01:00
|
|
|
# No insightsServer, as Learn's: without the block Serverpod doesn't start Insights.
|
feat(train): Halkyon Train's shell, Todo's copied and renamed (ADR 0030, D12)
apps/train with halkyon_train_server, _client and _flutter, as Todo's:
halkyon_base configured by trainBase(), its own register alone and a
member of the instance's where the operator names one, the app on
halkyon_app's gates with Train's frame, account sheet and About, texts
in British English and German that speak of workouts, app.halkyon.train
on Android, iOS, Linux, macOS and Windows.
Where it differs from Todo: development ports of its own (8180 to 8190),
so it runs beside Learn's server; one initial migration with the schema
Todo's migrations end at (the same tables, compared line by line), not
Todo's seventeen; and Todo's icon as a placeholder until the icon tool
of ADR 0031 draws Train's bike. The workspace, the licences, the READMEs
and AGENTS.md name it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
2026-10-28 10:26:49 +01:00
|
|
|
|
|
|
|
|
# Configuration for the web server.
|
|
|
|
|
webServer:
|
|
|
|
|
port: 8082
|
2026-10-29 00:05:39 +01:00
|
|
|
publicHost: train.halkyon.eu
|
feat(train): Halkyon Train's shell, Todo's copied and renamed (ADR 0030, D12)
apps/train with halkyon_train_server, _client and _flutter, as Todo's:
halkyon_base configured by trainBase(), its own register alone and a
member of the instance's where the operator names one, the app on
halkyon_app's gates with Train's frame, account sheet and About, texts
in British English and German that speak of workouts, app.halkyon.train
on Android, iOS, Linux, macOS and Windows.
Where it differs from Todo: development ports of its own (8180 to 8190),
so it runs beside Learn's server; one initial migration with the schema
Todo's migrations end at (the same tables, compared line by line), not
Todo's seventeen; and Todo's icon as a placeholder until the icon tool
of ADR 0031 draws Train's bike. The workspace, the licences, the READMEs
and AGENTS.md name it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
2026-10-28 10:26:49 +01:00
|
|
|
publicPort: 443
|
|
|
|
|
publicScheme: https
|
|
|
|
|
|
|
|
|
|
# This is the database setup for your servers. The default for the Google Cloud
|
|
|
|
|
# Engine Terraform configuration is to connect on a private IP address.
|
|
|
|
|
# If you are connecting on a public IP (e.g. on AWS or Google Cloud Run), you
|
|
|
|
|
# connect on the public IP of the database e.g. database.examplepod.com.
|
|
|
|
|
database:
|
2026-10-29 00:05:39 +01:00
|
|
|
host: postgres
|
feat(train): Halkyon Train's shell, Todo's copied and renamed (ADR 0030, D12)
apps/train with halkyon_train_server, _client and _flutter, as Todo's:
halkyon_base configured by trainBase(), its own register alone and a
member of the instance's where the operator names one, the app on
halkyon_app's gates with Train's frame, account sheet and About, texts
in British English and German that speak of workouts, app.halkyon.train
on Android, iOS, Linux, macOS and Windows.
Where it differs from Todo: development ports of its own (8180 to 8190),
so it runs beside Learn's server; one initial migration with the schema
Todo's migrations end at (the same tables, compared line by line), not
Todo's seventeen; and Todo's icon as a placeholder until the icon tool
of ADR 0031 draws Train's bike. The workspace, the licences, the READMEs
and AGENTS.md name it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
2026-10-28 10:26:49 +01:00
|
|
|
port: 5432
|
2026-10-29 00:05:39 +01:00
|
|
|
name: halkyon_train
|
|
|
|
|
user: halkyon_train
|
|
|
|
|
# On the instance's own network, never leaving the server.
|
|
|
|
|
requireSsl: false
|
feat(train): Halkyon Train's shell, Todo's copied and renamed (ADR 0030, D12)
apps/train with halkyon_train_server, _client and _flutter, as Todo's:
halkyon_base configured by trainBase(), its own register alone and a
member of the instance's where the operator names one, the app on
halkyon_app's gates with Train's frame, account sheet and About, texts
in British English and German that speak of workouts, app.halkyon.train
on Android, iOS, Linux, macOS and Windows.
Where it differs from Todo: development ports of its own (8180 to 8190),
so it runs beside Learn's server; one initial migration with the schema
Todo's migrations end at (the same tables, compared line by line), not
Todo's seventeen; and Todo's icon as a placeholder until the icon tool
of ADR 0031 draws Train's bike. The workspace, the licences, the READMEs
and AGENTS.md name it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
2026-10-28 10:26:49 +01:00
|
|
|
#isUnixSocket: true # defaults to false
|
|
|
|
|
#maxConnectionCount: 10 # Defaults to 10, a negative or null value removes the limit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
maxRequestSize: 524288 # The maximum size of requests allowed in bytes
|
|
|
|
|
|
|
|
|
|
# Session logs stay out of the database, for privacy, as Learn's (never re-enable).
|
|
|
|
|
sessionLogs:
|
|
|
|
|
consoleEnabled: false
|
|
|
|
|
persistentEnabled: false
|
|
|
|
|
# consoleLogFormat: json # Defaults to "json", options are "text" or "json"
|
|
|
|
|
|
|
|
|
|
#futureCall:
|
|
|
|
|
# enabled: true # Defaults to true, set to false to disable scheduling and running future calls
|
|
|
|
|
# executionEnabled: true # Defaults to true
|
|
|
|
|
# concurrencyLimit: 1 # Defaults to 1, a negative or null value removes the limit
|
|
|
|
|
# scanInterval: 5000 # Unit in milliseconds, defaults to 5000
|
|
|
|
|
|
|
|
|
|
# Recommended when serving web clients: keeps auth tokens in httpOnly
|
|
|
|
|
# cookies. Without this, web tokens live in JavaScript-readable storage,
|
|
|
|
|
# where any XSS can steal them. Web clients opt in with
|
|
|
|
|
# `client.cookieAuth = true`. Requires `allowedOrigins`; browsers from
|
|
|
|
|
# origins not in the list lose cross-origin access, including to public
|
|
|
|
|
# endpoints.
|
|
|
|
|
#authCookie:
|
|
|
|
|
# sameSite: lax # Defaults to "lax", options are "strict" or "none"
|
|
|
|
|
# #name: serverpod_auth # Defaults to "serverpod_auth"
|
|
|
|
|
# #refreshName: serverpod_auth_refresh # Defaults to "<name>_refresh"
|
|
|
|
|
# #domain: examplepod.com # Defaults to host-only; set to share across subdomains
|
|
|
|
|
# #path: / # Defaults to "/"
|
|
|
|
|
# #secure: true # Defaults to true; the cookie is only sent over https
|
|
|
|
|
#allowedOrigins:
|
|
|
|
|
# - https://app.examplepod.com # The origin serving your Flutter web app
|