Self-hosted Discourse forum for cadCAD community
Go to file
Jeff Emmett 86330c7ca3 fix: switch Discourse from cadcad-forum.jeffemmett.com to community.cadcad.org
Update hostname, SMTP domain, notification email, and Traefik router
rule to use the production community.cadcad.org domain.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-13 10:12:11 -04:00
backlog chore: add backlog-notify onStatusChange hook 2026-03-10 15:30:59 -07: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 fix: switch Discourse from cadcad-forum.jeffemmett.com to community.cadcad.org 2026-04-13 10:12:11 -04: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.