-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker.env.example
More file actions
54 lines (45 loc) · 1.96 KB
/
docker.env.example
File metadata and controls
54 lines (45 loc) · 1.96 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
41
42
43
44
45
46
47
48
49
50
51
52
53
# Docker Environment Configuration
# Copy this file to .env when using Docker Compose
# cp docker.env.example .env
# =============================================================================
# MySQL Database Configuration
# =============================================================================
MYSQL_ROOT_PASSWORD=changeme_root_password_here
MYSQL_USER=r5valk
MYSQL_PASS=changeme_db_password_here
MYSQL_DB=r5
MYSQL_PORT=3306
# =============================================================================
# Redis Configuration
# =============================================================================
REDIS_PASSWORD=
REDIS_PORT=6379
# Set to "1" to disable Redis even if configured
DISABLE_REDIS=0
# Server Time-To-Live in Redis (in seconds)
SERVER_TTL=35
# =============================================================================
# Application Configuration
# =============================================================================
# Port the app will be exposed on
APP_PORT=3000
# Admin Session Secret (REQUIRED - CHANGE THIS!)
# Generate a secure random string: openssl rand -base64 32
ADMIN_SESSION_SECRET=CHANGE_ME_TO_SECURE_RANDOM_STRING
# JWT Private Key Passphrase (only if auth.key is passphrase-protected)
AUTH_KEY_PASSPHRASE=
# Application Environment
NODE_ENV=production
# Allowed Hosts (Optional - comma-separated list)
ALLOWED_HOSTS=
# =============================================================================
# IMPORTANT SECURITY NOTES
# =============================================================================
# 1. NEVER commit this file with real secrets to version control
# 2. Change all default passwords before deploying to production
# 3. Use strong, randomly generated secrets (at least 32 characters)
# 4. The default admin account credentials are in schema.sql:
# Username: admin
# Password: changeme
# CHANGE THESE IMMEDIATELY after first login!
# =============================================================================