Self-hosted Discourse forum for cadCAD community
Go to file
Jeff Emmett 318fe2150e feat: add demo.rforum.online subdomain to Discourse Traefik routing
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 14:35:25 -08:00
backlog chore: migrate SMTP references from mx.jeffemmett.com to mail.rmail.online 2026-02-25 00:09:06 -08:00
scripts Update post-rebuild script to reconnect mailcow network and restart Traefik 2026-02-10 02:21:48 +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 feat: add demo.rforum.online subdomain to Discourse Traefik routing 2026-02-25 14:35:25 -08: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.