wiki_ghostguild/dokploy.yaml
Jennie Robinson Faber 289e673cbc 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.
2026-03-01 15:45:44 +00:00

52 lines
1 KiB
YAML

# Dokploy Configuration for Wiki.GhostGuild.org
# Outline wiki deployed via docker-compose
name: wiki-ghostguild
type: compose
# Build Configuration
build:
composeFile: docker-compose.yml
# Secrets (configured in Dokploy UI)
# These should be set in the Dokploy interface, not in this file:
# - POSTGRES_PASSWORD (used by docker-compose for the postgres service)
# - All Outline env vars are in outline.env on the server
# Health Check
healthcheck:
path: /api/health
interval: 30
timeout: 10
retries: 5
# Resource Limits (Outline + Postgres + Redis combined)
resources:
limits:
memory: 3GB
cpu: 2
requests:
memory: 1GB
cpu: 0.5
# Domains
domains:
- wiki.ghostguild.org
# SSL Configuration
ssl:
enabled: true
provider: letsencrypt
email: admin@ghostguild.org
# Deployment Strategy
deploy:
replicas: 1
strategy: rolling
maxSurge: 1
maxUnavailable: 0
# Backup Configuration
backup:
enabled: true
schedule: "0 2 * * *" # Daily at 2 AM
retention: 14 # Keep 14 days of backups