mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-21 14:36:31 +00:00
docs(server): keep the managed-hosting switches out of the env reference
The env reference parity test forced TREK_MANAGED, MAPBOX_ACCESS_TOKEN, CARTO_API_KEY and PLACES_API_BASE into server/.env.example with how-to text. They are managed hosting only and stay out of the public docs, the same way TREK_DB_FILE and APP_VERSION do, so they move to NOT_OPERATOR_SETTINGS with that reason and their lines leave the self-hoster reference again. The variables themselves and their behaviour are unchanged.
This commit is contained in:
@@ -117,7 +117,10 @@ variable to a token means moving its field from `derive.ts` to
|
||||
|
||||
`server/.env.example` names every variable the schema validates except the
|
||||
few in `env-reference.test.ts`'s `NOT_OPERATOR_SETTINGS`; that test fails on
|
||||
drift in either direction.
|
||||
drift in either direction. The managed-hosting switches (TREK_MANAGED and the
|
||||
keys only a managed install sets: MAPBOX_ACCESS_TOKEN, CARTO_API_KEY,
|
||||
PLACES_API_BASE) are on that list on purpose and stay out of every public
|
||||
reference.
|
||||
|
||||
## Classification: boot-stable vs runtime-toggled
|
||||
|
||||
|
||||
Reference in New Issue
Block a user