-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
64 lines (45 loc) · 1.7 KB
/
Copy path.env.example
File metadata and controls
64 lines (45 loc) · 1.7 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
54
55
56
57
58
59
60
61
62
63
64
#######################################
# Core Configuration
#######################################
# API server port
PORT="3000"
# Maximum profile picture size (bytes)
# Example: 2MB = 2097152
MAX_FILE_SIZE="2097152"
# JWT secret (64-character secure string)
# Generate with: openssl rand -hex 32
JWT_SECRET="your_64_character_secure_string_here"
# Absolute path where profile pictures and database are stored
CLIENTS_DATA_PATH="/absolute/path/to/gamepad/clientsData"
# Default profile pictures (must exist in CLIENTS_DATA_PATH)
DEFAULT_PICTURES="default1.webp,default2.webp,default3.webp"
# Frontend origin (used for CORS)
FRONTEND_ORIGIN="127.0.0.1"
#######################################
# SMTP Configuration (Optional)
#######################################
# SMTP server details (skip if not using email features)
SMTP="smtp.gmail.com"
SMTP_PORT="465"
SMTP_USER="your-email@example.com"
SMTP_PASS="your-smtp-password-or-app-password"
#######################################
# Google OAuth2 (Optional)
#######################################
# OAuth2 credentials from Google Cloud Console
CLIENT_ID="your-google-client-id"
CLIENT_SECRET="your-google-client-secret"
# Callback URL format:
# <FRONTEND_ORIGIN>/api/auth/google/callback
# Example: https://127.0.0.1/api/auth/google/callback
#######################################
# Fake Data (Optional – Dev/Testing)
#######################################
# Enable/disable fake data generation
FAKE_DATA_MODE="true"
# Number of fake users to create (max 1500)
FAKE_USERS_COUNT="50"
# Number of fake activities between fake users (max 15000)
FAKE_ACTIVITIES_COUNT="200"
# Number of fake users to print credentials for (max 10)
FAKE_USERS_CREDENTIALS_DISPLAY="3"