- Added support for a new `giveawayCreate` job in the bot's job processing, allowing for giveaways to be created via the WebUI. - Introduced `runGiveawayCreateJob` function to handle the creation of giveaways, ensuring consistent behavior with existing commands. - Updated `.env.example` to clarify the usage of `BOT_TOKEN` for both the bot and WebUI, enhancing documentation for environment variables. - Added `bullmq` dependency in the WebUI package for job management capabilities.
28 lines
809 B
Plaintext
28 lines
809 B
Plaintext
NODE_ENV=development
|
|
# Shared by apps/bot (gateway connection) and apps/webui (narrow REST calls +
|
|
# BullMQ job enqueueing for guild backups, giveaways and the scheduler).
|
|
BOT_TOKEN=
|
|
BOT_CLIENT_ID=
|
|
BOT_CLIENT_SECRET=
|
|
BOT_GUILD_ID=
|
|
DATABASE_URL=postgresql://nexumi:nexumi@postgres:5432/nexumi
|
|
REDIS_URL=redis://redis:6379
|
|
LOG_LEVEL=info
|
|
DEFAULT_LOCALE=de
|
|
METRICS_TOKEN=
|
|
SENTRY_DSN=
|
|
BACKUP_RETENTION_DAYS=14
|
|
BACKUP_CRON=0 3 * * *
|
|
BACKUP_DIR=/backups
|
|
HEALTH_PORT=8080
|
|
PUBLIC_BASE_URL=http://localhost:8080
|
|
TWITCH_CLIENT_ID=
|
|
TWITCH_CLIENT_SECRET=
|
|
|
|
# WebUI (apps/webui)
|
|
WEBUI_URL=http://10.111.0.65:3000
|
|
# Must be at least 32 characters long. Generate e.g. with `openssl rand -hex 32`.
|
|
SESSION_SECRET=
|
|
# Comma-separated Discord user IDs treated as global bot owners (owner panel, Phase 7 Batch C).
|
|
OWNER_USER_IDS=
|