mirror of
https://github.com/arthur-pbty/flint.git
synced 2026-08-01 20:29:03 +02:00
42 lines
768 B
Bash
42 lines
768 B
Bash
NODE_ENV=production
|
|
|
|
# PORT PUBLIC
|
|
WEB_PORT=3000
|
|
API_PORT=4000
|
|
|
|
# DB
|
|
POSTGRES_DB=flint
|
|
POSTGRES_USER=flint
|
|
POSTGRES_PASSWORD=
|
|
|
|
# REDIS
|
|
REDIS_PASSWORD=
|
|
|
|
# URLS PROD
|
|
WEB_URL=http://localhost:3000
|
|
API_BASE_URL=http://api:4000
|
|
NEXT_PUBLIC_API_BASE_URL=http://localhost:4000
|
|
|
|
# DISCORD
|
|
DISCORD_CLIENT_ID=
|
|
DISCORD_CLIENT_SECRET=
|
|
DISCORD_REDIRECT_URI=http://localhost:4000/auth/discord/callback
|
|
|
|
# Session/auth
|
|
JWT_SECRET=
|
|
JWT_EXPIRES_IN=7d
|
|
SESSION_COOKIE_NAME=__Host-saas_session
|
|
COOKIE_SECURE=true
|
|
|
|
# Encryption key for bot tokens (32 bytes base64)
|
|
TOKEN_ENCRYPTION_KEY=
|
|
|
|
# Multi-tenant API limits
|
|
TENANT_RATE_LIMIT_MAX=120
|
|
TENANT_RATE_LIMIT_WINDOW_SECONDS=60
|
|
|
|
# Matomo Analytics (optional - leave empty to disable)
|
|
# NEXT_PUBLIC_MATOMO_URL=
|
|
# NEXT_PUBLIC_MATOMO_SITE_ID=
|
|
|