# Self-host Once Campfire

> A simple, self-hosted group chat app from 37signals, no subscription required.

- Page: https://levelrail.com/templates/once-campfire/
- JSON: https://levelrail.com/templates/once-campfire.json
- Category: Communication
- Licence: MIT (Permissive license)
- Source: https://github.com/basecamp/once-campfire
- Upstream docs: https://github.com/basecamp/once-campfire

## Requirements
- Memory: about 512 MiB
- amd64: published, arm64: published
- Needs configuration before start: no
- Pinned image tag: main

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| campfire | ghcr.io/basecamp/once-campfire | main | 80 | campfire_storage -> /rails/storage |

## Environment

| Service | Variable | Kind |
| --- | --- | --- |
| campfire | DISABLE_SSL | preset |
| campfire | SECRET_KEY_BASE | generated |
| campfire | SKIP_TELEMETRY | preset |

## Deploy

### CLI

```bash
levelrail-cli templates deploy once-campfire --name my-once-campfire
```

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/once-campfire/deploy
```

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

## Questions

### Can I deploy Once Campfire on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list we compared does not have an entry with the same id for Once Campfire, so on Dokploy you would use a Docker Compose application with the file from this page. Dokku deploys container images with its own commands, so the pinned image ghcr.io/basecamp/once-campfire:main is what you deploy there.

Self-host Once Campfire, Once Campfire docker compose file, deploy Once Campfire on a VPS: this page lists the pinned image, ports, volumes and the commands for each.
