No description
  • Dockerfile 51.4%
  • Shell 48.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-05 21:14:41 +00:00
.gitignore 0.0.1 : upstream rust v0.1.2 2026-11-05 21:06:03 +00:00
build-stats.md 0.0.2 : upstream rust v0.1.2 2026-11-05 21:14:41 +00:00
campfire-logo.png 0.0.1 : upstream rust v0.1.2 2026-11-05 21:06:03 +00:00
CHANGELOG.md 0.0.2 : upstream rust v0.1.2 2026-11-05 21:14:41 +00:00
CloudronManifest.json 0.0.2 : upstream rust v0.1.2 2026-11-05 21:14:41 +00:00
CloudronVersions.json 0.0.2 : upstream rust v0.1.2 2026-11-05 21:14:41 +00:00
DESCRIPTION.md 0.0.1 : upstream rust v0.1.2 2026-11-05 21:06:03 +00:00
Dockerfile 0.0.1 : upstream rust v0.1.2 2026-11-05 21:06:03 +00:00
LICENSE 0.0.1 : upstream rust v0.1.2 2026-11-05 21:06:03 +00:00
POSTINSTALL.md 0.0.1 : upstream rust v0.1.2 2026-11-05 21:06:03 +00:00
README.md 0.0.1 : upstream rust v0.1.2 2026-11-05 21:06:03 +00:00
start.sh 0.0.1 : upstream rust v0.1.2 2026-11-05 21:06:03 +00:00
version.md 0.0.2 : upstream rust v0.1.2 2026-11-05 21:14:41 +00:00

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 metadata
  • storage/files/ — uploaded files and generated media variants
  • storage/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/data while the app runs, which races SQLite's write-ahead log. The periodic campfire backup snapshot exists so a restore always has a consistent database.

Packaged by @timconsidine https://communityapps.appx.uk (full portfolio: https://myca.appx.uk)