From bb008a3c4b635f5bb9c0fe058562d6616d9cc5fc Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Tue, 7 Jul 2026 11:46:07 +0545 Subject: [PATCH] docs(env): document _APP_GEO_ENDPOINT and _APP_GEO_SECRET in variables catalog Register the geo service env vars in app/config/variables.php so they appear in generated env documentation, matching their presence in .env and docker-compose.yml. Co-Authored-By: Claude Opus 4.8 (1M context) --- app/config/variables.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/app/config/variables.php b/app/config/variables.php index 6c23af5c5e..2082868183 100644 --- a/app/config/variables.php +++ b/app/config/variables.php @@ -357,6 +357,24 @@ return [ 'required' => false, 'question' => '', 'filter' => '' + ], + [ + 'name' => '_APP_GEO_ENDPOINT', + 'description' => 'Internal endpoint of the geo service used to resolve IP geolocation for locale and session enrichment. Leave empty to disable geolocation lookups. Defaults to the bundled `appwrite-geo` container.', + 'introduction' => 'TBD', + 'default' => 'http://appwrite-geo/v1', + 'required' => false, + 'question' => '', + 'filter' => '' + ], + [ + 'name' => '_APP_GEO_SECRET', + 'description' => 'Bearer token used to authenticate requests from the Appwrite server to the geo service. Must match the `GEO_SECRET` configured on the `appwrite-geo` container. Change it from the default value before running in production.', + 'introduction' => 'TBD', + 'default' => 'your-secret-key', + 'required' => false, + 'question' => '', + 'filter' => 'token' ] ], ],