7c742fca14
Signed-off-by: Alan Brault <alan.brault@visus.io>
24 lines
2.1 KiB
Bash
24 lines
2.1 KiB
Bash
# ════════════════════════════════════════════════════════════════════════════════
|
|
# Environment Configuration Template
|
|
# ════════════════════════════════════════════════════════════════════════════════
|
|
# Copy this file to .env and fill in your actual values
|
|
# .env is gitignored and will not be committed to version control
|
|
|
|
# ════════════════════════════════════════════════════════════════════════════════
|
|
# Database Configuration
|
|
# ════════════════════════════════════════════════════════════════════════════════
|
|
# MongoDB connection string
|
|
# Default: mongodb://localhost:27017/kotlin-api
|
|
MONGODB_URI=mongodb://localhost:27017/kotlin-api
|
|
|
|
# ════════════════════════════════════════════════════════════════════════════════
|
|
# JWT Security Configuration (JWE - JSON Web Encryption)
|
|
# ════════════════════════════════════════════════════════════════════════════════
|
|
# REQUIRED: Generate a secure base64-encoded secret for JWT token encryption
|
|
# MUST be exactly 32 bytes when base64-decoded (for AES-256-GCM encryption)
|
|
#
|
|
# Generate a secure 32-byte base64-encoded encryption secret (single line, no newlines):
|
|
# openssl rand -base64 32 | tr -d '\n'
|
|
#
|
|
JWT_ENCRYPTION_SECRET=your-base64-encoded-32-byte-secret-here
|