diff --git a/ecosystem.config.js b/ecosystem.config.js index 36d9ac6..cd613dc 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -1,7 +1,8 @@ -// Single source of truth for runtime config is SREBOT/.env (loaded here). -// Do NOT add `env:` blocks to apps below — they would override the .env values -// and create two parallel config sources to reason about. -require('dotenv').config(); +// Single source of truth for runtime config is SREBOT/.env. Each spawned +// process loads it independently (botscript.py via python-dotenv, server.js +// and web/server.js via `require('dotenv').config()`, github_webhook_updater.py +// via python-dotenv). Do NOT add `env:` blocks below or load dotenv here — +// either would create a second config source that can silently shadow .env. const DEPLOY_PATH = __dirname;