-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
24 lines (22 loc) · 1.17 KB
/
.env.example
File metadata and controls
24 lines (22 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# =============================================================================
# Community Bot — Root Environment Variables
# =============================================================================
# This file documents the shared infrastructure variables. Each app also has
# its own .env.example with app-specific settings:
#
# apps/web/.env.example — Web Dashboard (Next.js)
# apps/discord/.env.example — Discord Bot
# apps/twitch/.env.example — Twitch Bot
#
# Quick start:
# 1. Copy each .env.example → .env in the respective directory
# 2. Start infrastructure: docker compose up -d postgres redis
# 3. Push schema: bun db:push
# 4. Run all apps: bun dev
# =============================================================================
# --- Shared: Database --------------------------------------------------------
# PostgreSQL connection URL. Default works with the docker-compose.yml stack.
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres?schema=public
# --- Shared: Redis -----------------------------------------------------------
# Redis connection URL for EventBus pub/sub and BullMQ job queue.
REDIS_URL=redis://localhost:6379