-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
37 lines (31 loc) · 1.56 KB
/
.env.example
File metadata and controls
37 lines (31 loc) · 1.56 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
# MsgCore Environment Configuration
# Copy to .env and update with your values
#
# IMPORTANT: All required variables must be set. No defaults are used.
# =============================================================================
# Server Configuration (REQUIRED)
# =============================================================================
MSGCORE_SERVER_HOST=127.0.0.1
MSGCORE_SERVER_PORT=5007
# =============================================================================
# Database Configuration (REQUIRED)
# =============================================================================
# Directory for SQLite database (msgcore.db will be created here)
MSGCORE_DATA_DIR=./data
# =============================================================================
# Security (REQUIRED)
# =============================================================================
# Secret for authenticating internal API endpoints
MSGCORE_INTERNAL_SECRET=change-me-to-a-random-secret
# JWT secret for verifying access tokens
MSGCORE_JWT_SECRET=change-me-to-a-random-secret
# =============================================================================
# CORS Configuration (REQUIRED)
# =============================================================================
# Comma-separated list of allowed origins
MSGCORE_CORS_ORIGINS=http://localhost:3000,http://localhost:3001
# =============================================================================
# Logging (optional)
# =============================================================================
LOG_LEVEL=info
# MSGCORE_LOG_FILE_DIR=./data/logs