mirror of
https://github.com/freedbygrace/ActiveDirectoryManager.git
synced 2026-07-26 20:09:10 +00:00
b466886372
Replit-Commit-Author: Agent Replit-Commit-Session-Id: 705f2157-ef97-4fbd-89e4-8c7f2ecaea90 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7ed01c5f-a82d-405a-b728-b2e3d127c60c/69154111-0a6b-4eae-ac42-425c5260b653.jpg
30 lines
689 B
Bash
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 |