Replace Nuxt wiki with Outline deployment config
Strip the Nuxt 4 static site and replace with Docker Compose config for self-hosted Outline wiki (Outline + PostgreSQL 16 + Redis 7). Adds nginx reverse proxy with WebSocket support and CSS injection, migration script for existing markdown articles, backup script, and starter theme CSS.
This commit is contained in:
parent
bcca73c17a
commit
c836df8825
91 changed files with 414 additions and 17714 deletions
49
.env.example
49
.env.example
|
|
@ -1,46 +1,3 @@
|
|||
# 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
|
||||
# Used by docker-compose.yml for the PostgreSQL service
|
||||
# Generate with: openssl rand -hex 16
|
||||
POSTGRES_PASSWORD=CHANGE_ME
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue