Deployment Overview
tripplan.ing supports two production deployment targets. Choose based on your infrastructure preferences.
Deployment options
| Cloudflare Workers | Docker / Node.js | |
|---|---|---|
| Database | D1 (SQLite at the edge) | SQLite file (better-sqlite3) |
| Sessions | Cloudflare KV | In-memory (lost on restart) |
| File storage | R2 (S3-compatible) | Local filesystem |
| Scaling | Auto-scales globally | Single container |
| Cost | Free tier available, pay-per-request | Self-hosted infrastructure |
| CI/CD | GitHub Actions → Wrangler deploy | Docker build and push |
| Best for | Production with global reach | Self-hosted or air-gapped environments |
Cloudflare (recommended for production)
The primary deployment target. A single Worker serves all events and the platform UI:
- D1 — SQLite database at the edge
- KV — Key-value store for sessions and OTPs
- R2 — Object storage for photos and documents
- Workers — Serverless compute
Setup: Cloudflare Workers
Docker / Node.js
For self-hosted deployments or environments without Cloudflare access:
- SQLite — Local database file
- In-memory KV — Sessions lost on container restart
- Filesystem — Photos and documents stored on disk
Setup: Docker
Deployment workflow
Regardless of runtime, the deployment flow is:
- Configure environment — Environment & Secrets
- Set up CI/CD — CI/CD Pipeline
- Deploy — Push to
maintriggers automated deployment - Create events — Creating Events via the platform UI
Section overview
| Page | What you'll learn |
|---|---|
| Cloudflare Workers | D1/KV/R2 setup, wrangler config, go-live checklist |
| Environment & Secrets | All required env vars, GitHub Environments, secret management |
| CI/CD Pipeline | GitHub Actions workflows, deployment stages, rollback |
| Docker | Docker build, container configuration, data persistence |
| Creating Events | Platform UI walkthrough, domain setup, DNS configuration |
| Mailgun (Email) | Mailgun account, domain verification, API key setup |
| Stripe (Payments) | Stripe account, API keys, webhook endpoint, test vs live |
| PayPal (Payments) | PayPal developer app, credentials, webhooks, sandbox mode |