Files
gridpilot.gg/.env.test.example
2025-12-26 20:54:20 +01:00

28 lines
996 B
Plaintext

# Test Environment Configuration (automation stack)
# Copy this file to `.env.test` and adjust values as needed.
#
# Scope:
# - This file is for the hosted-session automation stack (companion/automation).
# - It is NOT used by the Website ↔ API Docker smoke stack (that stack is driven by env vars in
# [`docker-compose.test.yml`](docker-compose.test.yml:1) and scripts in [`package.json`](package.json:92)).
#
# Note on legacy config:
# - `AUTOMATION_MODE` is deprecated in favor of `NODE_ENV` mapping in [`getAutomationMode()`](adapters/automation/config/AutomationConfig.ts:104).
# - Keep `AUTOMATION_MODE` only if you need to force legacy behavior.
# Prefer this:
NODE_ENV=test
# Optional legacy override (deprecated): `dev` | `mock` | `production`
AUTOMATION_MODE=mock
# Shared automation settings
AUTOMATION_TIMEOUT=5000
RETRY_ATTEMPTS=1
SCREENSHOT_ON_ERROR=false
# Logging (automation/adapters)
# LOG_LEVEL=warn
# LOG_FILE_PATH=./logs/gridpilot
# LOG_MAX_FILES=7
# LOG_MAX_SIZE=10m