Deploy Campfire Team Chat
Campfire group chat with rooms, bots and push, admin created at boot
Campfire
Campfire
Just deployed
/rails/storage
Deploy and Host Campfire Team Chat on Railway
Campfire is 37signals' self-hosted group chat, released as open source under the MIT license. It has open and closed rooms, direct messages, file attachments with previews, search, @mentions, Web Push notifications, an installable app, and bots with an API and webhooks.
About Hosting Campfire Team Chat
The template runs Campfire 1.5.13 from upstream's official ghcr.io/basecamp/once-campfire image, pinned by digest, as one Railway service. Inside it, Thruster serves HTTP in front of the Puma app server, Resque workers run background jobs, and Redis handles live updates and the job queue on loopback only. The SQLite database, uploads and the generated Web Push key pair live on a Railway volume.
Set CAMPFIRE_ADMIN_EMAIL before you deploy. On the first boot the account and its administrator are created with that email and a generated password, which you copy from the service's variables, before the chat answers its first request, so nobody else can claim the instance. Then invite people with the join link from the account settings page. Campfire sends no email.
Why Deploy Campfire Team Chat on Railway
Railway gives you an HTTPS domain, a persistent volume, generated secrets and health-checked deploys, with no server to manage. Each deploy hands the volume to Campfire's own user, runs the database migrations and closes the first-run page before the public port opens. Each visitor's own address reaches Campfire, so sign-in throttling and IP bans work per visitor behind Railway's edge. If any of Campfire's processes stops, the service exits with an error and Railway restarts it.
Common Use Cases
- A private chat for a team, a company or a club, without per-seat fees
- A support or community chat with open rooms and private direct messages
- Chat-ops: bots that post alerts with a single curl call and answer through webhooks
Dependencies for Campfire Team Chat Hosting
The deployment uses Campfire (once.com/campfire, self-hosting guide) with its bundled Thruster, Puma, Resque and Redis.
Deployment Dependencies
- Campfire 1.5.13 from ghcr.io/basecamp/once-campfire, with a 5 GB volume
- One replica only: the database is SQLite on the volume
Campfire and ONCE are trademarks of 37signals, LLC. This template is not affiliated with or endorsed by 37signals.
Template Content
CAMPFIRE_ADMIN_EMAIL
Email address of the first administrator, used to sign in. Campfire sends no email; the address is shown on the sign-in page as the contact for people who need help.
