This commit is contained in:
2025-08-10 10:31:10 -04:00
commit db767dcabc
26 changed files with 8170 additions and 0 deletions

29
.env.example Normal file
View File

@@ -0,0 +1,29 @@
# 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