-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
40 lines (40 loc) · 1.16 KB
/
Copy path.env.example
File metadata and controls
40 lines (40 loc) · 1.16 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
APP_NAME=Enterprise Realtime Chat Service
APP_VERSION=1.0.0
ENVIRONMENT=development
DEBUG=true
API_PREFIX=/api/v1
DATABASE_URL=postgresql+psycopg://chat_user:chat_password@db:5432/chat_db
SECRET_KEY=replace-this-with-a-random-secret-at-least-32-characters
ENCRYPTION_SECRET=replace-this-with-another-random-secret-at-least-32-characters
ACCESS_TOKEN_MINUTES=15
REFRESH_TOKEN_DAYS=14
MFA_TICKET_MINUTES=5
EMAIL_VERIFICATION_MINUTES=60
PASSWORD_RESET_MINUTES=30
MAX_FAILED_LOGINS=5
LOCKOUT_MINUTES=15
REDIS_URL=redis://redis:6379/0
RATE_LIMIT_REQUESTS=300
LOGIN_RATE_LIMIT_REQUESTS=20
CORS_ORIGINS=http://localhost:3000,http://localhost:5173
TRUSTED_HOSTS=localhost,127.0.0.1,api
FRONTEND_URL=http://localhost:3000
WEBSOCKET_PATH=/ws
WEBSOCKET_HEARTBEAT_SECONDS=30
WEBSOCKET_IDLE_TIMEOUT_SECONDS=120
WEBSOCKET_MAX_MESSAGE_BYTES=65536
MAX_MESSAGE_LENGTH=10000
MAX_GROUP_MEMBERS=500
MAX_UPLOAD_BYTES=26214400
UPLOAD_DIR=./uploads
PUBLIC_MEDIA_BASE_URL=http://localhost:8000/media
PRESENCE_TTL_SECONDS=90
MESSAGE_EDIT_WINDOW_MINUTES=1440
SMTP_HOST=
SMTP_PORT=587
SMTP_USERNAME=
SMTP_PASSWORD=
SMTP_FROM_EMAIL=no-reply@chat.example.com
SMTP_USE_TLS=true
EXPOSE_DEBUG_TOKENS=true
DOCS_ENABLED=true