Self-hosted Discourse forum for cadCAD community
Go to file
Jeff Emmett cf4d61b16e Mark backup import task as done
Backup restored via admin UI, migrations ran, Redis restart needed
after OOM during restore. All community.cadcad.org content imported.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 20:00:23 +00:00
backlog Mark backup import task as done 2026-02-10 20:00:23 +00: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 Configure SMTP via local mailcow internal relay 2026-02-10 02:18:07 +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.