21 lines
601 B
Plaintext
21 lines
601 B
Plaintext
# Central Database (Prisma - stores tenant metadata)
|
|
CENTRAL_DATABASE_URL="mysql://user:password@platform-db:3306/central_platform"
|
|
|
|
# Database Root Credentials (for tenant provisioning)
|
|
DB_HOST="platform-db"
|
|
DB_PORT="3306"
|
|
DB_ROOT_USER="root"
|
|
DB_ROOT_PASSWORD="root"
|
|
|
|
# Encryption Key for Tenant Database Passwords (32-byte hex string)
|
|
# Generate with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
|
|
ENCRYPTION_KEY="your-32-byte-hex-encryption-key-here"
|
|
|
|
# JWT Configuration
|
|
JWT_SECRET="your-jwt-secret"
|
|
JWT_EXPIRES_IN="7d"
|
|
|
|
# Application
|
|
NODE_ENV="development"
|
|
PORT="3000"
|