service-teams-browser-bot/.env.sample
2026-05-12 17:49:26 +02:00

43 lines
1.5 KiB
Text

# Service Configuration
PORT=4100
NODE_ENV=development
# Gateway WebSocket Connection
GATEWAY_WS_URL=wss://gateway-int.poweron-center.net/api/teamsbot/ws
# Bot Configuration
BOT_NAME=PowerOn AI
BOT_HEADLESS=true
# Static avatar tile (replaces Teams' green/spinning "no video" placeholder
# with a quiet, single-color surface + the bot's display name in the
# center). Recommended for the anonymous bot. Colors are CSS values.
# BOT_USE_CANVAS_VIDEO=true
# BOT_AVATAR_BG_COLOR=#a8d4f0
# BOT_AVATAR_TEXT_COLOR=#1a3552
# DEBUG ONLY - leave commented in normal operation.
# Set to true to skip BOTH media wrappers (RTCPeerConnection wrapper +
# getUserMedia override) for isolating Teams' anonymous lobby preheating
# crash (rejectMediaDescriptionsUpdateAsync). With this on the bot has
# no audio in/out, no captions, no greeting - it sits silently.
# BOT_DISABLE_MEDIA_WRAPPERS=true
# DEBUG ONLY - bisect the Teams anonymous preheated-PC crash by running
# anon with the auth Chromium args (minimal flags) AND no stealth init.
# BOT_ANON_USE_AUTH_BROWSER_SETUP=true
# Playwright browser channel. Empty = bundled Chromium (default).
# Set to 'chrome' or 'msedge' to use the locally installed real browser.
# Strongly recommended for anonymous Teams joins: Playwright's bundled
# Chromium gets detected as automation and forced into a lobby + the
# buggy preheated-PC code path; real Chrome bypasses both.
# BOT_BROWSER_CHANNEL=chrome
# Logging
LOG_LEVEL=info
LOG_DIR=./output/logs
# Screenshots (for debugging)
SCREENSHOT_DIR=./output/screenshots
SCREENSHOT_ON_ERROR=true