chore: initial commit for main
This commit is contained in:
+29
-6
@@ -1,17 +1,40 @@
|
||||
# Database
|
||||
# =========================================
|
||||
# GamePanel Environment Configuration
|
||||
# =========================================
|
||||
# Copy this file to .env and update values
|
||||
# cp .env.example .env
|
||||
|
||||
# --- Database ---
|
||||
DATABASE_URL=postgresql://gamepanel:gamepanel@localhost:5432/gamepanel
|
||||
DB_USER=gamepanel
|
||||
DB_PASSWORD=gamepanel
|
||||
DB_NAME=gamepanel
|
||||
DB_PORT=5432
|
||||
|
||||
# API
|
||||
# --- Redis ---
|
||||
REDIS_URL=redis://:gamepanel@localhost:6379
|
||||
REDIS_PASSWORD=gamepanel
|
||||
REDIS_PORT=6379
|
||||
|
||||
# --- API ---
|
||||
PORT=3000
|
||||
HOST=0.0.0.0
|
||||
API_PORT=3000
|
||||
NODE_ENV=development
|
||||
CORS_ORIGIN=http://localhost:5173
|
||||
|
||||
# JWT
|
||||
JWT_SECRET=change-me-in-production
|
||||
JWT_REFRESH_SECRET=change-me-in-production-refresh
|
||||
# --- JWT (CHANGE IN PRODUCTION!) ---
|
||||
# Generate with: node -e "console.log(require('crypto').randomBytes(64).toString('hex'))"
|
||||
JWT_SECRET=CHANGE_ME_GENERATE_A_SECURE_64_BYTE_HEX_STRING
|
||||
JWT_REFRESH_SECRET=CHANGE_ME_GENERATE_ANOTHER_SECURE_64_BYTE_HEX_STRING
|
||||
|
||||
# Daemon
|
||||
# --- Rate Limiting ---
|
||||
RATE_LIMIT_MAX=100
|
||||
RATE_LIMIT_WINDOW_MS=60000
|
||||
|
||||
# --- Web ---
|
||||
WEB_PORT=80
|
||||
|
||||
# --- Daemon ---
|
||||
DAEMON_CONFIG=/etc/gamepanel/config.yml
|
||||
DAEMON_GRPC_PORT=50051
|
||||
|
||||
Reference in New Issue
Block a user