Self-hosted Discourse forum for cadCAD community
Go to file
Jeff Emmett efac8782ac Initial Discourse deployment config for cadCAD community forum
Sets up official Discourse Docker behind Traefik reverse proxy on Netcup RS 8000.
Temp domain: cadcad-forum.jeffemmett.com (switching to community.cadcad.org later).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 15:49:10 +00:00
scripts Initial Discourse deployment config for cadCAD community forum 2026-02-09 15:49:10 +00:00
.env.example Initial Discourse deployment config for cadCAD community forum 2026-02-09 15:49:10 +00:00
.gitignore Initial Discourse deployment config for cadCAD community forum 2026-02-09 15:49:10 +00:00
README.md Initial Discourse deployment config for cadCAD community forum 2026-02-09 15:49:10 +00:00
SPEC.md Initial Discourse deployment config for cadCAD community forum 2026-02-09 15:49:10 +00:00
app.yml Initial Discourse deployment config for cadCAD community forum 2026-02-09 15:49:10 +00:00

README.md

cadCAD Community Discourse Forum

Self-hosted Discourse forum for the cadCAD community.

Quick Reference

ssh netcup
cd /opt/discourse

./launcher logs app        # View logs
./launcher restart app     # Restart
./launcher rebuild app     # Rebuild (after config changes)
./launcher enter app       # Shell into container
./launcher stop app        # Stop

After any rebuild, reconnect to Traefik:

bash scripts/post-rebuild.sh

Initial Setup

  1. Run scripts/install.sh on Netcup (or see SPEC.md for manual steps)
  2. Add cadcad-forum.jeffemmett.com to Cloudflare tunnel
  3. Create admin account: ./launcher enter apprake admin:create

Import Existing Forum Data

  1. Get .tar.gz backup from existing community.cadcad.org admin panel (/admin/backups)
  2. Upload to Netcup: scp backup.tar.gz netcup:/tmp/
  3. Run: bash scripts/restore-backup.sh /tmp/backup.tar.gz

Switch to community.cadcad.org

  1. Edit containers/app.yml: update DISCOURSE_HOSTNAME and Traefik Host() rule
  2. ./launcher rebuild app && bash scripts/post-rebuild.sh
  3. Add community.cadcad.org to Cloudflare tunnel
  4. Coordinate DNS: CNAME community.cadcad.org → tunnel UUID .cfargotunnel.com

Configure Email (SMTP)

Uncomment and fill in the SMTP section in containers/app.yml, then rebuild.