1-Click Self-Hosted Deploy Templates
GatherGate ships audited deployment manifests under deploy/ and a root render.yaml Blueprint for persistent container hosts. Every template pulls the signed multi-arch container image (ghcr.io/faas19/gathergate:latest, linux/amd64 and linux/arm64), mounts persistent storage at /data, and runs healthchecks against GET /healthz.
Prerequisites (All Platforms)
Section titled “Prerequisites (All Platforms)”- Persistent
/datavolume: Storesgathergate.sqlite(SQLite WAL), encrypted local blobs (DATA_DIR/blobs), and.master.keyifMASTER_KEYis not yet set in environment variables. - Single replica (
1instance): SQLite WAL and the built-in background cron scheduler (automated reminders, webhook retries, auto-purge) expect one container attached to the/datavolume. - Production
MASTER_KEY: Generate a 64-character hex key once (openssl rand -hex 32) and save it in your platform’s secret manager alongside a separate offline backup.
Platform Templates
Section titled “Platform Templates”GatherGate includes render.yaml at the repository root so you can launch directly from GitHub:
- Open Render Blueprint deploy:
https://render.com/deploy?repo=https://github.com/FAAS19/gathergate - Select a paid web service plan (
starteror higher, required by Render for persistent disks) with the preconfigured 10 GB disk mounted at/data. BASE_URLfalls back automatically to Render’sRENDER_EXTERNAL_URL(setBASE_URLexplicitly if you attach a custom domain). On first boot withoutMASTER_KEY, GatherGate generates/data/.master.key; copy that 64-character hex value into aMASTER_KEYenvironment variable (and back it up offline) so existing encrypted records remain readable.- Confirm
https://<your-domain>/healthzreturns HTTP200, then open/for first-run workspace setup.
Use deploy/coolify/docker-compose.yml:
- In Coolify, create New Resource > Docker Compose Empty and paste
deploy/coolify/docker-compose.yml. - Assign your HTTPS domain on port
3080(SERVICE_URL_GATHERGATE_3080automatically populatesBASE_URL). - Set
MASTER_KEY(openssl rand -hex 32) in Coolify’s Environment Variables tab. - Click Deploy and verify
/healthz.
Use deploy/dokploy/docker-compose.yml and deploy/dokploy/template.toml:
- In Dokploy, create a new Compose service using
deploy/dokploy/docker-compose.yml. - Attach a domain pointing to service
gathergateon port3080with HTTPS enabled. - Set
BASE_URL=https://your-domainandMASTER_KEY(openssl rand -hex 32) in Environment, then deploy.
Use deploy/railway/railway.json:
- Create a new Railway service from
FAAS19/gathergateusing theDOCKERFILEbuilder with Config File Path/deploy/railway/railway.json(or deployghcr.io/faas19/gathergate:latestdirectly). - Add a Railway Volume mounted at
/dataand keep Replicas set to1. - Set environment variables:
NODE_ENV=production,HOST=0.0.0.0,PORT=3080,DATA_DIR=/data,TRUST_PROXY=true, andMASTER_KEY(openssl rand -hex 32).BASE_URLautomatically falls back tohttps://<RAILWAY_PUBLIC_DOMAIN>(or setBASE_URLexplicitly for a custom domain). The container entrypoint repairs/dataownership automatically and drops privileges to non-root UID1000(node). - Configure healthcheck path
/healthzand expose port3080.
Manifests live at deploy/umbrel/umbrel-app.yml and deploy/umbrel/docker-compose.yml:
-
Runs as non-root
user: "1000:1000"(node:24-alpine) with${APP_DATA_DIR}/data:/dataandapp_proxyrouting togathergate_web_1:3080. -
app_proxyconfiguresPROXY_AUTH_WHITELISTstrictly for the client magic-link portal (/c/*), static bundle assets (/assets/*,/favicon.svg,/site.webmanifest), client API (/api/client/*), public workspace logo (/api/public/*), Bearer-authenticated MCP (/mcp), and/healthz. Recipients can open magic links without an Umbrel session (protected by GatherGate’s 256-bit magic token and optional 6-digit email OTP) and AI agents can authenticate directly toPOST /mcpwith a scoped Bearer API key (mcp:read), while the operator console and REST API routes (/api/requests*) remain behind both Umbrel login and GatherGate authentication. -
Before creating client checklists, set
BASE_URLto a reachable origin so generated magic links work from client devices: usehttp://<device-host>:3080(for examplehttp://umbrel.local:3080) for LAN-only access, or your publichttps://...origin behind a TLS reverse proxy (keep direct container access restricted to the trusted proxy wheneverTRUST_PROXY=true). -
Ready for custom Umbrel Community App Stores or upstream submission to
getumbrel/umbrel-apps.
Import deploy/casaos/docker-compose.yml via App Store > Custom Install > Import:
- Maps
/DATA/AppData/$AppID/data:/dataand exposes port3080. The template retains minimal capabilities (CHOWN,SETUID,SETGID) so GatherGate’s entrypoint initialises/dataownership automatically and drops to the non-rootnodeuser (UID 1000) with zero manualchownstep. - Set
BASE_URL(defaults tohttp://casaos.local:3080in the template) to a reachable origin before creating checklists:- Direct LAN access: set
BASE_URL=http://<device-host>:3080and keepTRUST_PROXY=false. - Public HTTPS behind a reverse proxy (Caddy, Nginx, or Cloudflare Tunnel): set
BASE_URL=https://intake.yourfirm.com.auand first restrict port3080to loopback (127.0.0.1:3080), a private proxy network, or a host firewall allowing only the proxy before enablingTRUST_PROXY=true(preventing direct callers from spoofingX-Forwarded-Forto bypass IP rate limits).
- Direct LAN access: set
Use deploy/fly/fly.toml (replace your-gathergate-app and syd with your chosen app name and region; BASE_URL automatically falls back to https://<FLY_APP_NAME>.fly.dev unless overridden):
fly apps create your-gathergate-appfly volumes create gathergate_data --region syd --size 10 -a your-gathergate-appfly secrets set \ MASTER_KEY="$(openssl rand -hex 32)" \ BASE_URL="https://your-gathergate-app.fly.dev" \ -a your-gathergate-appfly deploy -c deploy/fly/fly.toml -a your-gathergate-appauto_stop_machines = "off" and min_machines_running = 1 keep GatherGate’s built-in reminder, webhook retry, and auto-purge cron jobs running continuously.
Why Not Vercel or Stateless Serverless Functions?
Section titled “Why Not Vercel or Stateless Serverless Functions?”GatherGate’s backend application is intentionally designed for a persistent container or Node.js process rather than ephemeral serverless functions (such as Vercel Functions or Netlify Functions):
- Embedded SQLite WAL (
node:sqlite): Requires a single persistent POSIX filesystem (/data/gathergate.sqlite) with write-ahead logging. Ephemeral serverless filesystems reset between cold starts and cannot share a local SQLite WAL file across concurrent invocations. - Encrypted local blob storage (
/data/blobs): Stores AES-256-GCM encrypted client documents on disk whenSTORAGE_BACKEND=local. - In-process background cron: Runs scheduled reminder sweeps, exponential webhook retries, overdue detection, and automatic document shredding without external queues or third-party schedulers.
Static frontend artefacts (the marketing showcase, interactive browser demo, and Starlight documentation under site/ and docs/) are pure static files and deploy cleanly to Cloudflare Workers Static Assets, GitHub Pages, or Vercel. For the live GatherGate server itself, always choose a persistent host above or a standard VPS with Docker / Node.js 24+.