wiki_ghostguild/.env.example

46 lines
1.2 KiB
Text

# MongoDB Connection
MONGODB_URI=mongodb://localhost:27017/wiki-ghostguild
# Authentication
JWT_SECRET=your-secret-key-change-in-production
JWT_REFRESH_SECRET=your-refresh-secret-change-in-production
# Ghost Guild OAuth Integration
GHOSTGUILD_API_URL=https://ghostguild.org/api
GHOSTGUILD_API_KEY=your-api-key
GHOSTGUILD_CLIENT_ID=your-client-id
GHOSTGUILD_CLIENT_SECRET=your-client-secret
GHOSTGUILD_REDIRECT_URI=https://wiki.ghostguild.org/api/auth/callback
# Site Configuration
SITE_URL=https://wiki.ghostguild.org
SITE_NAME=Ghost Guild Knowledge Commons
SITE_DESCRIPTION=A wiki for ghosts! 👻
# Forgejo Integration
FORGEJO_URL=https://git.ghostguild.org
FORGEJO_TOKEN=your-forgejo-token
FORGEJO_REPO=ghostguild/wiki-content
# Search (Meilisearch)
MEILISEARCH_URL=http://localhost:7700
MEILISEARCH_KEY=your-master-key
# Email (for notifications)
EMAIL_FROM=wiki@ghostguild.org
EMAIL_SMTP_HOST=smtp.example.com
EMAIL_SMTP_PORT=587
EMAIL_SMTP_USER=your-smtp-user
EMAIL_SMTP_PASS=your-smtp-password
# Analytics (Optional)
PLAUSIBLE_DOMAIN=wiki.ghostguild.org
PLAUSIBLE_API_KEY=your-plausible-key
# Error Tracking (Optional)
SENTRY_DSN=your-sentry-dsn
SENTRY_ENVIRONMENT=production
# Development
NODE_ENV=development
DEBUG=false