# 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