28 lines
1.2 KiB
Plaintext
28 lines
1.2 KiB
Plaintext
# Discord Authentication
|
|
DISCORD_TOKEN=your_token_here
|
|
DISCORD_CLIENT_ID=your_client_id_here
|
|
|
|
# Database Configuration (PostgreSQL)
|
|
# User/pass from docker-compose.yml
|
|
DATABASE_URL="postgresql://kord:password@localhost:5432/kord_db?schema=public"
|
|
|
|
# Logging (log4js — file only under LOG_DIR, no console appender)
|
|
# Levels: trace, debug, info, warn, error, fatal
|
|
LOG_LEVEL=info
|
|
# Log directory (kord.log + dated rotations). Relative = from process cwd; use an absolute path on servers
|
|
# if the deploy directory is wiped (e.g. Jenkins): LOG_DIR=/var/lib/kord/logs
|
|
LOG_DIR=logs
|
|
|
|
# ----------------------------------------------------
|
|
# E2E Live Testing Configuration (Playwright)
|
|
# ----------------------------------------------------
|
|
# A separate database strictly for Live E2E Testing to prevent overwriting dev data
|
|
TEST_DATABASE_URL="postgresql://kord:password@localhost:5432/kord_test_db?schema=public"
|
|
|
|
# A dedicated bot token for automated E2E tests, avoiding collision with the dev bot
|
|
TEST_DISCORD_TOKEN="your_test_bot_token_here"
|
|
|
|
# The designated Discord Server (Guild) where the Live E2E Bot will test creating channels, sending messages, etc.
|
|
TEST_GUILD_ID="your_test_guild_id_here"
|
|
|