Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

Yes—you can run Campfire on your own VPS. The supported choices are ONCE’s guided installer or the official Docker image. ONCE is the easier route because it combines installation, HTTPS setup, updates, and backups. Docker gives you finer control over image tags, environment variables, storage, and TLS, but you must operate each of those pieces yourself.

This guide covers sizing, DNS, both deployment methods, persistent storage, HTTPS, first-run administration, upgrades, backups, and the operational limits that matter before you put a Campfire instance into service.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What self-hosted Campfire provides

Campfire is ONCE’s installable, self-hosted group chat system. It runs on infrastructure you control rather than on a shared hosted service. The application includes rooms, direct messages, mentions, search, file attachments, mobile web and progressive web app support, and an HTTP API for bots. It is released as open-source software under the MIT License.

A VPS from a cloud provider is a suitable host. ONCE specifically identifies AWS, DigitalOcean, and Hetzner as locations where Campfire can run. You need a server with a public IP address, a domain name you control, and a way to connect to the machine with administrative privileges.

#1 Best Overall
Sale
Compressed Air Duster,130000RPM Super Power Cordless Air Duster,Rechargeable Brushless Blower,3 Gear Adjustable Blower with LED Light,Dust Remover for Computer/House/Outdoor/Car
  • Powerful Turbo Fan:CAGIWIRU Electric Air Duster have reached speed up to 130000RPM,Can efficient remove dust and debris.With LED light and Three Adjustable Speed to meet with different cleaning tasks.
  • With Attached USB C Fasting Charging cable.Charing 3 hours,Enjoy up to 240 minutes of use on the lowest setting, For third speed can use for 25mins.with four charging options to meet with your needs.
  • Wide Application:Upgraded attached 5 different nozzles,making it suitable for a variety of scenes, such as car,pet, pc, keyboards, and other electronic devices. It also serves for office and home clean duster.
  • Handy Design & Portable:Cordless air duster electric nozzle is Light weight and small size, design and comfortable to hold and space saving, convenient to carry around. You can put it in your room or inside the car without taking up space.
  • Warranty & Support: Our Electric air duster comes with 5 years warranty and 24/7 customer service. During this period, if you have any questions,pls kindly feel free to contact us.

Campfire is single-tenant. Every user in one installation can see that installation’s public rooms. If two customer groups must be isolated from one another, deploy separate Campfire instances rather than trying to divide one installation into private tenants.

Choose a VPS size before installing

ONCE publishes the following concurrent-user guidance. “Concurrent users” means users connected and active at the same time, not the total number of accounts in the database.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Published concurrency RAM CPU Planning interpretation
250 concurrent users 2 GB 1 CPU Small team or pilot installation
1,000 concurrent users 8 GB 4 CPU Mid-sized team with regular file and message activity
5,000 concurrent users 32 GB 16 CPU Large deployment with substantial simultaneous traffic
10,000 concurrent users 64 GB 32 CPU Very large installation; plan capacity and monitoring carefully

These are ONCE’s published figures, not a guarantee for every workload. Leave additional capacity for the operating system, Docker or ONCE services, monitoring, backups, indexing, file uploads, and traffic spikes. A team that expects 250 connected users should not treat a 2 GB machine as having 2 GB available exclusively to Campfire.

Storage planning

Campfire stores its SQLite database and uploaded attachments in the persistent storage directory. Select a VPS disk large enough for current attachments, database growth, temporary backup archives, and at least one local recovery copy. The published sizing table specifies memory and CPU, but it does not prescribe a universal disk size; attachment retention and backup policy determine that number.

Network and access requirements

  • A stable public IPv4 address, and IPv6 if your users require it.
  • Inbound TCP access to port 80 for HTTP and certificate challenges.
  • Inbound TCP access to port 443 for HTTPS when Campfire handles TLS.
  • SSH or equivalent administrative access for installation and maintenance.
  • A DNS record such as chat.example.com pointing to the VPS address.

ONCE versus manual Docker

Both methods run the same Campfire application. The difference is who owns the operational work.

Decision area ONCE Manual Docker
Initial setup Guided installer and setup flow You create the container, storage mount, secrets, and environment variables
Updates Installation checks for updates daily; automatic behavior can be disabled You pull an image and recreate the container; migrations run at boot
Backups Backups are integrated into the ONCE operating model You run the documented backup preparation command and copy archives off-server
Image and configuration control Less low-level control Choose image tags and set environment variables directly
TLS Handled as part of the ONCE deployment experience Campfire can obtain certificates itself, or you can put it behind another reverse proxy
Operational burden Lowest; ONCE coordinates common tasks Higher; you own secrets, storage, TLS, upgrades, and recovery

Choose ONCE when the priority is a maintained installation with minimal infrastructure work. Choose Docker when you already operate containers, need explicit version pinning, or must integrate Campfire with an existing proxy, network, and backup system.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Deploy with the ONCE CLI

1. Provision the VPS and DNS

  1. Create a VPS with enough memory and CPU for your expected concurrent population, plus operational headroom.
  2. Point a DNS A or AAAA record such as chat.example.com at the server’s address. Wait for the record to resolve before requesting a certificate.
  3. Confirm that you can log in to the machine and that required firewall ports are reachable.

2. Install ONCE

Run the official installer on the VPS:

curl https://get.once.com | sh

The installer adds the ONCE command-line tooling. Review the shell output and keep the installation account’s administrative access protected.

Rank #2
EVEO® Screen Cleaner Spray Kit (Streak-Free) TV Screen Cleaner for Smart TV, Lcd, LEd, Oled | Computer Screen Cleaner Spray and Wipe Microfiber Cloth - TV, Monitor, Laptop, iPad, Car - 6.7oz 1 Pack
  • Screen Cleaner is Your Screen’s New Bestfriend! - EVEO is proud to present a screen cleaner that’s perfectly suited for your TV. Meet your new screen cleaner, computer screen cleaner, laptop cleaner, iPad cleaner, Macbook,tv cleaner or any other electronic device. Our screen cleaner spray and wipe along with the included plush microfiber cloth, easily removes dust, fingerprints & other smudges on the screen’s surface. Clean effectively for a streak-free screen
  • Gentle on your Screens - Our screen cleaner spray and wipes is compatible to be used even for the most sensitive LCD, LED, CRT, and OLED screens in proper use. Be at ease knowing that this product is compatible with all the major brands: LG, SONY, Samsung, Sharp, iPad, iPhone, Android screens, Kindle, PC monitors - we’ve got you covered! Can be used as LCD screen cleaner, tv cleaner, smart tv screen cleaner, and more
  • Premium Super Soft Plush Microfiber Cloth - Included in this efficient screen cleaning kit. This screen cleaner spray and wipe has our signature plush microfiber cloth specially designed to comply with screens and monitors and leave them streak-free. Has been shown to effectively absorbs stubborn stains, zero streaks, and no fiber shedding. Always use this together with our screen cleaner for the best results
  • Easy-to-Use Screen Cleaner Kit + microfiber cleaning cloth - The EVEO Screen Cleaning Kit will easily be your new favorite tool when it comes to taking care of the things you love most, quick and easy solution for a streak-free screen. Simply screw on the sprayer gun on the screen cleaner bottle. Spray the cleaning liquid onto the microfiber cloth, then wipe the screen until desired cleanliness & shine is achieved.
  • Quality Screen Care Kit Worth Purchasing - Enjoy a convenient Screen Cleaner anytime, anywhere you need it. Your satisfaction is our top priority. We stand behind the quality of our products and that’s why, you shouldn’t be worrying at all. We manufacture the Best Screen Cleaner. and can be used for laptop cleaning kit, laptop screen cleaner, tv screen cleaner for smart tv. MacBook screen cleaner, monitor cleaner or screen cleaner spray for electronic devices with microfiber cleaning cloth

3. Select Campfire in the setup flow

Start the ONCE setup process and choose Campfire when prompted. ONCE guides the initial configuration and provides the integrated operating path for updates and backups.

4. Deploy directly from the command line when needed

If you prefer an explicit command, deploy the Campfire image with:

once deploy ghcr.io/basecamp/once-campfire --host chat.example.com

Replace the host value with the DNS name that resolves to this VPS. The host name is also the name users will use to reach the service.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

5. Complete the first-run wizard

Open the host in a browser and finish the admin-account wizard. Create the initial administrator account and use an address that your team monitors. Campfire displays that email address on the login page as the contact for password-help requests, so entering a dormant address creates an avoidable support problem.

6. Verify the installation

  • Load the site over HTTPS and confirm that the browser reports a valid certificate.
  • Sign in with the new administrator account.
  • Create a test room, send a message, attach a small file, and verify search.
  • Test the mobile web or PWA experience from a phone on a different network.
  • Confirm that the VPS disk has free space and that ONCE reports the instance as healthy.

Deploy the official Docker image manually

The official image is ghcr.io/basecamp/once-campfire:latest. It bundles the web application, background jobs, caching, file serving, and SSL support. Manual deployment requires a Docker-capable machine, persistent storage, and the required environment variables.

1. Install and secure Docker

Install a supported Docker Engine on the VPS using your operating system’s documented package source. Restrict Docker administration to trusted operators: access to the Docker socket is effectively host-level access.

2. Generate the instance secrets

Generate secrets from the image:

docker run --rm ghcr.io/basecamp/once-campfire:latest script/admin/generate-secrets

Record the values in a password manager or another protected secret store. Keep SECRET_KEY_BASE, VAPID_PRIVATE_KEY, and VAPID_PUBLIC_KEY unchanged across restarts and upgrades. Replacing them can invalidate encrypted data or browser push subscriptions.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
BladeHawks RGB Gaming Mouse Pad Extra Large Extended 31.5x12 Inch-Black
  • 【Large size】:Measuring 800 x 300 mm/ 31. 5×12 inches, which is wider and taller than others. Large mouse pad can perfectly fit your keyboard and mouse of any size, and there is also ample space for peripherals such as phones, tablets, etc.
  • 【LED backlight mouse pad】:Blade Hawks RGB mouse pad provides 7 static modes and 7 dynamic modes will give you the options you are looking for. Power-off memory function remembers the last lighting mode you selected. The super glow fiber Chroma will give you a colorful gaming setup that you want.
  • 【Anti-slip rubber base】:Made from Natural rubber, this gaming mousepad will firmly grip your desktop, allowing you to enjoy the ultimate precision in the games you are most passionate about. It also comes with a texture that enhances this ability even further.
  • 【Smooth and waterproof surface】: Micro-textured cloth surface, for extremely precise mouse control and a smooth movement. When liquid splashes on the gaming mouse pad, it forms water droplets and slides down. Will not delay your work or gameplay.
  • 【Plug and play】: This mouse and keyboard pad is powered by USB, plug and play, no driver required. One button control light modes. Press one time to change the lighting mode, press twice to change the brightness, press and hold about 3 seconds turn ON/OFF.

3. Create persistent storage

Mount a persistent volume at /rails/storage. This directory contains the SQLite database and uploaded attachments. Without the mount, replacing the container can remove the data that makes the installation useful.

4. Let Campfire terminate HTTPS

For Campfire to obtain and renew a Let’s Encrypt certificate, publish ports 80 and 443 and set TLS_DOMAIN to the public DNS name. A complete example is:

docker run 
  --name campfire 
  --publish 80:80 --publish 443:443 
  --restart unless-stopped 
  --volume campfire:/rails/storage 
  --env SECRET_KEY_BASE=$YOUR_SECRET_KEY_BASE 
  --env VAPID_PUBLIC_KEY=$YOUR_PUBLIC_KEY 
  --env VAPID_PRIVATE_KEY=$YOUR_PRIVATE_KEY 
  --env TLS_DOMAIN=chat.example.com 
  ghcr.io/basecamp/once-campfire:latest

Replace each shell variable with the generated value and replace chat.example.com with your real domain. The VPS firewall and any provider-level firewall must allow inbound ports 80 and 443. DNS must resolve to this server before certificate issuance can succeed.

5. Put Campfire behind an existing reverse proxy

If another reverse proxy already terminates TLS, set DISABLE_SSL=true and publish the application’s HTTP port instead:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
docker run 
  --name campfire 
  --publish 80:80 
  --restart unless-stopped 
  --volume campfire:/rails/storage 
  --env SECRET_KEY_BASE=$YOUR_SECRET_KEY_BASE 
  --env VAPID_PUBLIC_KEY=$YOUR_PUBLIC_KEY 
  --env VAPID_PRIVATE_KEY=$YOUR_PRIVATE_KEY 
  --env DISABLE_SSL=true 
  ghcr.io/basecamp/once-campfire:latest

Configure the proxy to forward the public HTTPS hostname to the container and preserve WebSocket or upgrade headers if your proxy requires explicit handling. Keep the container’s HTTP port private to the proxy or firewall; it does not need to be exposed broadly on the internet.

6. Finish first run

Browse to the configured hostname and complete the admin wizard. The same email-address behavior applies: the address entered for the first administrator is shown to users who need password help.

HTTPS and DNS checks

HTTPS protects credentials, messages, attachments, and API traffic in transit. Before troubleshooting the application, verify the lower layers:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
Sale
Vaydeer Wrist Rest for Keyboard and Mouse, Computer Ergonomic Wrist Support Pad, Soft Memory Foam Arm Cushion for Desk, Palm Hand Office Laptop Typing
  • 【Softer and More Comfortable】Vaydeer wrist rest has unique diamond pattern, which is the combination of softness and aesthetics. The materials of wrist rest are improved into higher quality memory foam and covered with silky smooth lycra. The computer wrist rest makes you as comfortable and cushiony as like rest your wrists on clouds.
  • 【Ergonomic Wrist Saver】The wrist rests for keyboard and mouse comes with a 17.32×3.15×0.83 inch keyboard wrist pad and a 5.94×3.15×0.83 inch mouse wrist support. Based on ergonomic design, the unique concave shape is the perfect fit for your wrist joints. The wrist rest pad fits most computer keyboards and laptops, improve hand and wrist posture, release your wrist and arm stress.
  • 【Non-Slip Rubber Bottom】Featuring an anti-skid silicone base on the bottom, this wrist keyboard support stays firmly in place on your desk, preventing the padding from sliding around, ensuring stable and consistent wrist support during extended computer sessions.
  • 【Better Experience & Pain Relief】Our keyboard arm rest is beneficial to alleviate the soreness caused by direct contact and friction between your arm and a hard desk surface, reducing the risk of wrist fatigue or carpal tunnel. The soft texture of memory foam can evenly distribute the pressure around your wrists and provide good support with just enough give.
  • 【Helpful in Multiple Scenarios】Whether you're working, studying, writing, typing, gaming, this keyboard and mouse rest combo is an essential accessory to add comfort and support to your hands and wrists. It’s also a great gift for men, women, family, friend, coworker, gamer, teacher, etc.
  1. Resolve chat.example.com from a public DNS resolver and confirm it returns the VPS address.
  2. Check that no old A or AAAA record sends some users to a different server.
  3. Allow TCP 80 and 443 through the VPS firewall and cloud firewall.
  4. Ensure no other process is already bound to the ports Campfire must publish.
  5. If Campfire manages TLS, leave TLS_DOMAIN set to the exact public hostname.
  6. If a proxy manages TLS, set DISABLE_SSL=true and verify the proxy forwards requests to the container’s HTTP listener.

Certificate issuance can fail when DNS still points elsewhere, port 80 is blocked, or a proxy intercepts the challenge path. Correct those conditions and restart or recreate the container according to the deployment method.

Persistence, upgrades, and version control

Protect the storage volume

The /rails/storage mount is the critical state boundary for a Docker deployment. Back it up, monitor its disk usage, and do not replace it casually during container maintenance. It contains both structured application data and user-uploaded files.

Upgrade a Docker installation

Pull a newer image and recreate the container with the same volume and the same secret values. Pending database migrations run automatically at boot. Reusing the volume and secrets is essential; changing either can make the upgraded container appear empty or unable to decrypt existing data.

Use latest when you want the most recent tagged release supplied by the image stream. Pin a specific version tag when you need predictable change control and a scheduled upgrade process. Before changing versions, make a verified backup and record the currently running tag.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Control ONCE update behavior

ONCE installations check for updates daily by default. The product documentation says this behavior can be disabled when you require manual update approval. Whichever policy you choose, define an owner for security updates and test restoration before a major change.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Back up Campfire correctly

Campfire uses SQLite, so copying the live database file while the application is running can produce an inconsistent backup. Prepare a snapshot first.

  1. Run the backup-preparation command inside the running container:
docker exec campfire script/admin/prepare-backup

The command creates a consistent snapshot under storage/backups/ inside the mounted storage volume.

Best Value
Sale
Under Desk Cable Management Tray No Drill, Metal Mesh Cable Management Under Desk with Clamp Mount, 2 Hole Cable Tray with Wire Management and Cord Organizer for Home Office Standing Desk
  • 【No Drill Mounted】Cable management tray can be assembled in as little as 3 minutes or less-simply. Side clips easily clampe the edge of desk, pass through the holes on the sides, and secure excess cables with baskets. Desk cable management supports inward or outward installation to meet your needs in different scenarios, and provides you with great convenience when collecting and organizing wires.
  • 【Rubber Pad Protects Desk】Wire organizer under desk built-in soft rubber pads on the clamp protect your desk from scratches, so you will not damage your furniture or office.
  • 【Sturdy and Beautiful】Cord management under desk is made of high-quality carbon steel and holds about 15 lbs. The wire basket has 2 holes on each side of the tray to enable your cables to pass freely. Cable baskets are suitable for desk thickness use from 0.4" to 2.4".
  • 【Space Saving & Keep Organized】Desk cable management tray holds all your power cords, outlet strips, USB hubs and computer transformers hidden from your feet, and the data cables will not enter the vacuum cleaner to keep your desk clean and tidy. Desk wire organizer is also suitable for use in the kitchen and outdoors.
  • 【Reduce Safety Risks】Cable tray under desk keeps all plugs away from your kids, no more worry about tripping. Using 2 holes wire tray saves extra space, helps you easily cabling and wire protection. The mesh design is not easy to accumulate dust, but avoids safety accidents caused by messy wires.
  1. Archive the full storage volume, including the prepared backup and uploaded attachments.
  2. Copy the resulting archive off the VPS to storage that is not dependent on the same server or disk.
  3. Protect the archive because it contains messages, account data, and uploaded files.
  4. Periodically perform a test restore on a separate machine or isolated volume. A backup that has never been restored is an assumption, not a recovery plan.

For an ONCE-managed installation, use the integrated backup workflow, then ensure copies are retained away from the VPS. An off-server copy limits the damage from disk failure, accidental deletion, or a compromised host.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Operational checklist after launch

  • Capacity: Monitor RAM, CPU, disk space, and concurrent connections against the published sizing level.
  • Storage: Track attachment growth and the size of backup archives; schedule retention so the disk cannot fill silently.
  • Security: Apply operating-system security updates, restrict SSH, use key-based access, and limit Docker administration.
  • Secrets: Store the three generated secrets outside shell history and keep them identical during every restart and upgrade.
  • HTTPS: Check certificate renewal and test access from outside the VPS network.
  • Recovery: Document the VPS provider, DNS records, deployment command, image tag, volume name, secret location, and restore procedure.
  • Application tests: Periodically exercise login, room messaging, direct messages, file uploads, search, mentions, PWA access, and any bot using the HTTP API.

Troubleshoot common failures

The domain opens the wrong server

Check A and AAAA records, DNS caching, and the VPS public address. Remove stale records or update them before attempting certificate issuance.

Let’s Encrypt cannot issue a certificate

Confirm that the hostname resolves publicly, port 80 reaches this VPS, and no other service occupies ports 80 or 443. If a separate proxy already owns TLS, use DISABLE_SSL=true rather than running two competing certificate terminators.

The site is empty after recreating the container

Inspect the container definition and verify that the original persistent volume is mounted at exactly /rails/storage. A new anonymous volume or a misspelled volume name creates a fresh database.

Users lose access to push notifications

Verify that the original VAPID_PUBLIC_KEY and VAPID_PRIVATE_KEY are still configured. Do not generate replacement keys during an ordinary restart or upgrade.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

An upgrade fails during startup

Review container logs, confirm that the storage volume is writable and has free space, and verify that all required environment variables are present. Restore the last known-good image tag and backup if the failure is caused by the new release.

Backups do not restore correctly

Do not rely on a live SQLite file copied during activity. Recreate the prepared snapshot with script/admin/prepare-backup, archive the complete storage volume, and test the archive on an isolated instance.

Which deployment path should you use?

Use ONCE when

  • You want the shortest path from a fresh VPS to a working Campfire site.
  • You prefer integrated update and backup handling.
  • You do not need to tune every container and proxy setting.
  • Your team wants a guided operational model rather than a custom platform build.

Use Docker when

  • You already maintain Docker workloads and standardize deployments through image tags.
  • You need to place Campfire behind an existing HTTPS reverse proxy.
  • You require explicit control over environment variables, volumes, firewall exposure, and release timing.
  • You have staff responsible for backups, upgrades, monitoring, and incident recovery.

For most first-time self-hosters, start with ONCE on a properly sized VPS and a dedicated hostname. Move to a manually managed Docker deployment only when the additional control solves a real networking, compliance, or release-management requirement.