- Dockerfile 51.4%
- Shell 48.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .gitignore | ||
| build-stats.md | ||
| campfire-logo.png | ||
| CHANGELOG.md | ||
| CloudronManifest.json | ||
| CloudronVersions.json | ||
| DESCRIPTION.md | ||
| Dockerfile | ||
| LICENSE | ||
| POSTINSTALL.md | ||
| README.md | ||
| start.sh | ||
| version.md | ||
Campfire for Cloudron
Campfire — simple group chat, without a subscription — packaged for
Cloudron. This package builds the Rust implementation,
basecamp/once-campfire-rust v0.1.2.
What is in the image
A single campfire binary, built from source, that replaces the Rails app's Ruby, Puma, Redis,
Resque and Thruster. It keeps the Rails SQLite schema, storage layout and cookie format. Media
handling comes from the distribution's libvips and ffmpeg (with the libheif decoders for HEIC and
AVIF).
There is no Redis and no Postgres: localstorage is the only addon.
Data
Everything persistent lives under /app/data and is covered by Cloudron's backups:
storage/db/production.sqlite3— messages, rooms, users, attachments metadatastorage/files/— uploaded files and generated media variantsstorage/backups/— periodically refreshed atomic SQLite snapshot.secret_key_base,.vapid_public,.vapid_private— generated once on first run
The session-signing secret and the Web Push keypair are generated on first run and must not change: regenerating them signs everyone out or breaks existing push subscriptions.
Runtime layout
Cloudron terminates TLS, so the app runs plain HTTP. The manifest's httpPort (3000) is the front
listener that Cloudron's proxy reaches; the app's own listener sits on loopback above it. The
front server is configured to trust Cloudron's X-Forwarded-* headers, so the app still sees
itself as HTTPS. The health check is /up.
Campfire manages its own accounts and invitations. Cloudron's proxy authentication is intentionally not enabled, as it conflicts with Campfire's sign-in, join codes, bot API and WebSockets.
Notes
- libvips and ffmpeg are the distribution's versions, which may produce slightly different thumbnails and video posters than the pinned toolchain the upstream image ships. Functionally equivalent.
- Cloudron copies
/app/datawhile the app runs, which races SQLite's write-ahead log. The periodiccampfire backupsnapshot exists so a restore always has a consistent database.
Packaged by @timconsidine https://communityapps.appx.uk (full portfolio: https://myca.appx.uk)