-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
29 lines (27 loc) · 1019 Bytes
/
Copy path.env.example
File metadata and controls
29 lines (27 loc) · 1019 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
NODE_ENV=development
DATABASE_URL=postgresql://streamforge:streamforge@postgres:5432/streamforge?schema=public
REDIS_URL=redis://redis:6379
SESSION_SECRET=replace_with_long_random_secret
TOKEN_ENCRYPTION_KEY=replace_with_64_hex_chars
TWITCH_CLIENT_ID=
TWITCH_CLIENT_SECRET=
TWITCH_EVENTSUB_ENABLED=false
TWITCH_EVENTSUB_DEBUG=false
PORT=8000
TRUST_PROXY=true
ALLOWED_ORIGINS=https://www.streamforge-bot.com
COOKIE_SECURE=true
COOKIE_SAME_SITE=lax
RATE_LIMIT_ENABLED=true
# Local development
FRONTEND_URL=http://localhost:4173
BACKEND_URL=http://localhost:8000
PUBLIC_APP_URL=http://localhost:4173
PUBLIC_API_URL=http://localhost:8000/api
TWITCH_REDIRECT_URI=http://localhost:8000/api/auth/twitch/callback
# Production reverse-proxy deployment
# FRONTEND_URL=https://www.streamforge-bot.com
# BACKEND_URL=https://www.streamforge-bot.com
# PUBLIC_APP_URL=https://www.streamforge-bot.com
# PUBLIC_API_URL=https://www.streamforge-bot.com/api
# TWITCH_REDIRECT_URI=https://www.streamforge-bot.com/api/auth/twitch/callback