Files
DynamoDNS/.env.example
T
alphaeusmote 1a2892a82a Set up the project with initial files and improve development experience
Add .gitignore, .env.example, CONTRIBUTING.md, LICENSE, a preview image, and roadmap to the project.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9111ef36-26c8-4085-84ca-a35dc1fec1b5
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7083d608-d6d3-4a6a-9a27-6286c5109627/910f6160-6716-488e-83e6-61256595c269.jpg
2025-05-24 02:18:30 +00:00

36 lines
1016 B
Bash

# Database Configuration
DATABASE_URL=postgresql://username:password@localhost:5432/dynamodns
# Server Configuration
PORT=5000
NODE_ENV=development
HOST=0.0.0.0
SESSION_SECRET=your_secure_random_string
# Authentication Configuration
ENABLE_REGISTRATION=false
DEFAULT_ADMIN_USERNAME=admin
DEFAULT_ADMIN_PASSWORD=admin # Change this in production!
DEFAULT_ADMIN_EMAIL=admin@example.com
# LDAP Authentication (Optional)
LDAP_ENABLED=false
LDAP_URL=ldap://ldap.example.com
LDAP_BIND_DN=cn=admin,dc=example,dc=com
LDAP_BIND_PASSWORD=your_ldap_password
LDAP_SEARCH_BASE=ou=users,dc=example,dc=com
LDAP_SEARCH_FILTER=(uid={{username}})
LDAP_USER_ATTR_USERNAME=uid
LDAP_USER_ATTR_EMAIL=mail
LDAP_USER_ATTR_DISPLAY_NAME=cn
# OpenID Connect Authentication (Optional)
OIDC_ENABLED=false
OIDC_ISSUER=https://auth.example.com
OIDC_CLIENT_ID=your_client_id
OIDC_CLIENT_SECRET=your_client_secret
OIDC_CALLBACK_URL=https://dynamodns.example.com/api/auth/oidc/callback
OIDC_SCOPE="openid profile email"
# Logging
LOG_LEVEL=info