Files
ActiveDirectoryManager/.env.example
T
2025-04-09 00:43:36 +00:00

30 lines
689 B
Bash

# Database Configuration
POSTGRES_USER=admanagement
POSTGRES_PASSWORD=strong_password_here
POSTGRES_DB=admanagement
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}
# Redis Configuration
REDIS_URL=redis://redis:6379
# Application Configuration
NODE_ENV=production
PORT=5000
SESSION_SECRET=change_this_to_a_random_string
DEBUG=api:*
# JWT Secret for API tokens
JWT_SECRET=change_this_to_a_different_random_string
JWT_EXPIRY=24h
# LDAP Connection Default Settings
LDAP_CONNECT_TIMEOUT=10000
LDAP_IDLE_TIMEOUT=60000
LDAP_RECONNECT_TIMEOUT=10000
# Rate Limiting
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX_REQUESTS=1000
# Logging
LOG_LEVEL=info