29 lines
888 B
Plaintext
29 lines
888 B
Plaintext
# ObsWiki Environment Variables
|
|
# Copy this file to .env and update the values
|
|
|
|
# JWT Secret Key - MUST be changed in production!
|
|
# Generate a secure random key: openssl rand -base64 32
|
|
JWT_SECRET=your-secret-key-change-in-production
|
|
|
|
# Database Configuration
|
|
DATABASE_URL=sqlite:obswiki.db
|
|
|
|
# GitHub OAuth (optional)
|
|
# GITHUB_CLIENT_ID=your_github_client_id
|
|
# GITHUB_CLIENT_SECRET=your_github_client_secret
|
|
|
|
# Google OAuth (optional)
|
|
# GOOGLE_CLIENT_ID=your_google_client_id
|
|
# GOOGLE_CLIENT_SECRET=your_google_client_secret
|
|
|
|
# LDAP Authentication (optional)
|
|
# LDAP_SERVER=ldap://your-ldap-server:389
|
|
# LDAP_BIND_DN=cn=admin,dc=example,dc=com
|
|
# LDAP_BIND_PASSWORD=admin_password
|
|
# LDAP_USER_BASE=ou=users,dc=example,dc=com
|
|
# LDAP_USER_FILTER=(uid={})
|
|
|
|
# Default Admin User Credentials (for initial setup)
|
|
# ADMIN_USERNAME=admin
|
|
# ADMIN_PASSWORD=admin123
|
|
# ADMIN_EMAIL=admin@obswiki.local |