# Self-host Buzz by Block

> Self-hostable team workspace with channels, threads, direct messages, canvases and search where people and AI agents share the same rooms; the server is a Rust relay that speaks the Nostr protocol, used through desktop and mobile apps. Run your own Buzz by Block on an always-on EnvHaven workspace by asking its coding agent: one request installs it, puts it on an HTTPS address and locks it down. What the agent takes care of, and the manual route.

_Updated November 23, 2026_

Running your own Buzz by Block usually means a list of server chores: a machine that stays on, Docker or a runtime, a reverse proxy with certificates, a domain, and the settings that make Buzz by Block behave behind all of it. On an EnvHaven workspace you skip the list. You ask the coding agent, and it does the work while you watch.

## Just ask your agent

Open a Plus workspace (Buzz by Block runs in Docker, which Plus and Pro include), tap **Launch** to start any coding agent (Claude Code, Codex, OpenCode or another), and ask it:

```text
Set up Buzz by Block on this workspace and give me the link. Follow https://envhaven.com/self-host/buzz.md
```

Then open the link it sends and create your Buzz by Block account straight away, before anyone else finds the address. That is the whole request: the address in it is this page's Markdown copy, and the agent follows the instructions for it further down, with every setting Buzz by Block's docs require.

## Or keep it private with Tailscale

The preview URL puts Buzz by Block on the public internet, which suits something other people need to reach. For an app only you and your household use, your tailnet is the better home: Tailscale gives Buzz by Block an HTTPS address that only your own devices, signed in to your Tailscale account, can open. Save a Tailscale auth key in the workspace's **Vars** pane as `TS_AUTHKEY`, and ask the agent:

```text
Set up Buzz by Block on my tailnet instead of the preview URL. Follow https://envhaven.com/self-host/buzz.md and https://envhaven.com/guides/self-host-privately-with-tailscale.md
```

- A Tailscale container runs beside Buzz by Block, so it keeps its private address through workspace restarts and updates, and every app you set up this way gets an address of its own.
- Anything other services have to reach, such as a webhook, still needs a public address. [Keep self-hosted apps private with Tailscale](https://envhaven.com/guides/self-host-privately-with-tailscale) covers both, and what Tailscale's free plan includes.

| At a glance |  |
| --- | --- |
| What it is | Team chat and messaging |
| License | Apache-2.0 |
| Runs as | Docker (`ghcr.io/block/buzz`) |
| Memory | Not documented |
| Plan that fits | Plus or larger |
| Web port | 3000 |
| Documentation | [github.com/block/buzz/blob/main/deploy/compose/README.md](https://github.com/block/buzz/blob/main/deploy/compose/README.md) |

## What your agent takes care of

- **Installing it.** Buzz by Block runs from the official image, `ghcr.io/block/buzz`, with its data in folders under `~/apps/buzz`.
- **Putting it on an HTTPS address.** The workspace's preview URL serves it, and your own domain can too.
- **Locking it down first.** What Buzz by Block's docs say to set before it faces the internet, below.
- **Telling you what to back up**: buzz-postgres-data (Postgres: events and search index), buzz-redis-data (Redis append-only data), buzz-minio-data (object storage for media and git objects), buzz-git-data mounted at /data/git (git repositories), deploy/compose/.env with the relay private key and the database, Redis and S3 secrets and buzz-caddy-data and buzz-caddy-config when the TLS override is used ([docs](https://github.com/block/buzz/blob/main/deploy/compose/run.sh)).

### The settings it needs behind a proxy

- `BUZZ_DOMAIN`: Public host name; the Caddy override and the URL settings below derive from it. ([docs](https://github.com/block/buzz/blob/main/deploy/compose/.env.example))
- `RELAY_URL` (example wss://buzz.example.com): The public WebSocket URL clients connect to; it is used in the NIP-42 authentication challenges. ([docs](https://github.com/block/buzz/blob/main/.env.example))
- `BUZZ_MEDIA_BASE_URL` (example https://buzz.example.com/media) and `BUZZ_MEDIA_SERVER_DOMAIN`: Public address media files are served from. ([docs](https://github.com/block/buzz/blob/main/deploy/compose/.env.example))
- `BUZZ_CORS_ORIGINS`: Allowed browser origins; set to the public https origin. ([docs](https://github.com/block/buzz/blob/main/deploy/compose/.env.example))
- `BUZZ_CLIENT_IP_HEADER` (for example cf-connecting-ip behind Cloudflare, x-real-ip behind nginx): Names the request header that carries the real client IP for logging; set it only when a proxy overwrites that header. ([docs](https://github.com/block/buzz/blob/main/.env.example))
- TLS termination at the proxy (`BUZZ_COMPOSE_TLS`=true adds Caddy): The relay does not do TLS itself; terminate it at the tunnel, a proxy or the bundled Caddy. ([docs](https://github.com/block/buzz/blob/main/SECURITY.md))

### Before it faces the internet

- Replace every placeholder secret before the first start; the run script refuses to start while CHANGE_ME values remain. ([docs](https://github.com/block/buzz/blob/main/deploy/compose/.env.example))
- Secrets must stay stable across restarts and be backed up. ([docs](https://github.com/block/buzz/blob/main/deploy/compose/.env.example))
- The production defaults make the relay closed: only members can use it, and it needs an owner public key. ([docs](https://github.com/block/buzz/blob/main/deploy/compose/.env.example))
- Relay membership is required by default. ([docs](https://github.com/block/buzz/blob/main/deploy/compose/.env.example))
- The relay does not enforce TLS; terminate it in front. ([docs](https://github.com/block/buzz/blob/main/SECURITY.md))
- The base compose file publishes the relay port directly on the host, so firewall it when a tunnel or proxy fronts the relay. ([docs](https://github.com/block/buzz/blob/main/deploy/compose/.env.example))
- The optional admin console in unauthenticated mode exposes every community's data to anyone who can reach the relay. ([docs](https://github.com/block/buzz/blob/main/deploy/compose/.env.example))

## Things to ask next

Everything after the install is one more sentence to the agent. Some that come up:

- "Create channels for engineering, support and random, and give me the invite link."
- "Turn off public sign-ups now that my team is in."
- "Move Buzz by Block to app.example.com." Add the domain on the dashboard's Domains page with a CNAME to `domains.envhaven.app`, and the agent changes Buzz by Block's address settings to match.
- "Update Buzz by Block to the latest release." It pulls the new image and recreates the container, data kept.

## Instructions for the agent

The agent reads these from the page's Markdown copy. They also work pasted on their own, if you would rather give them in your own words.

```text
Set up Buzz by Block on this workspace and serve it at my preview URL.
- Use Docker Compose with the official image, ghcr.io/block/buzz, starting from the docs' compose file: https://github.com/block/buzz/blob/main/deploy/compose/compose.yml. If `docker compose` is missing, install the Compose plugin into ~/.docker/cli-plugins first.
- The docs' setup includes: PostgreSQL 17 (postgres:17-alpine); Redis 7 (redis:7-alpine, pub/sub); S3-compatible object storage (bundled pgsty/silo, a MinIO fork, plus a one-shot bucket init container).
- Keep the compose file in ~/apps/buzz and all of its data in folders there (bind mounts, not named volumes), with restart: unless-stopped on every service.
- This server has no firewall, so publish no port on its public IP, and drop host networking and privileged mode from the docs' compose file. Docker runs on the host: connect this workspace to the compose network and relay my preview URL's port to Buzz by Block's port 3000.
- The preview URL terminates HTTPS in front of Buzz by Block: serve plain HTTP on its port, and trust the forwarded headers the relay passes on.
- Set what "The settings it needs behind a proxy" lists on https://envhaven.com/self-host/buzz.md for the preview URL, as Buzz by Block's docs describe for running behind a proxy; skip any that apply only when Buzz by Block serves HTTPS itself.
- Before the preview URL serves it, apply what "Before it faces the internet" lists on https://envhaven.com/self-host/buzz.md.
- When it answers at the preview URL, send me the link and tell me what to back up.
- If I asked for my tailnet instead of the preview URL, set Buzz by Block up the same way but follow https://envhaven.com/guides/self-host-privately-with-tailscale.md for the network: no preview URL, no relay.
```

## What to know

- In Docker, Buzz by Block's containers keep running when the workspace restarts or updates. The relay from the preview URL is a process in the workspace, so after a restart or an update, ask the agent to restore it.
- The relay is a WebSocket server, so a tunnel or proxy in front must pass WebSockets. ([docs](https://github.com/block/buzz/blob/main/Dockerfile))
- Voice huddles run over a WebSocket and the relay forwards the audio itself, so no UDP port, TURN server or external SFU is needed. ([docs](https://github.com/block/buzz/blob/main/ARCHITECTURE.md))
- The default git pack limit is 524288000 bytes (500 MiB) per pack, above a 100 MB tunnel body cap, so large pushes over an HTTP tunnel can fail first. ([docs](https://github.com/block/buzz/blob/main/.env.example))
- Mobile push is off by default and relies on a push gateway, the public one by default. ([docs](https://github.com/block/buzz/blob/main/deploy/compose/README.md))
- The bundled Compose stack cannot use an external S3 provider through .env; use the Helm chart or a custom file for that. ([docs](https://github.com/block/buzz/blob/main/deploy/compose/README.md))
- The project describes itself as unfinished. ([docs](https://github.com/block/buzz/blob/main/README.md))
- A workspace has one preview URL and one custom domain, both serving the same port, so it puts one app on a public address at a time.

## Without a workspace

The manual route, on a server you run:

1. Rent a Linux VPS, secure SSH, and create a user for the app.
2. Install Docker and write a compose file from the official image.
3. Put a reverse proxy in front (Caddy, nginx or Traefik), get certificates, and point a domain at the server.
4. Set the proxy settings listed above for that domain, and pass WebSocket upgrades through the proxy if the app uses them.
5. Keep the firewall closed except for the proxy, and schedule backups and updates.

Buzz by Block's own [documentation](https://github.com/block/buzz/blob/main/deploy/compose/README.md) covers each step for its install methods.

## Sources

Facts about Buzz by Block come from its own documentation, checked on 2026-11-23:

- [github.com/block/buzz/blob/main/deploy/compose/README.md](https://github.com/block/buzz/blob/main/deploy/compose/README.md)
- [github.com/block/buzz/blob/main/deploy/compose/.env.example](https://github.com/block/buzz/blob/main/deploy/compose/.env.example)
- [github.com/block/buzz/blob/main/.env.example](https://github.com/block/buzz/blob/main/.env.example)
- [github.com/block/buzz/blob/main/SECURITY.md](https://github.com/block/buzz/blob/main/SECURITY.md)
- [github.com/block/buzz/blob/main/Dockerfile](https://github.com/block/buzz/blob/main/Dockerfile)
- [github.com/block/buzz/blob/main/ARCHITECTURE.md](https://github.com/block/buzz/blob/main/ARCHITECTURE.md)
- [github.com/block/buzz/blob/main/README.md](https://github.com/block/buzz/blob/main/README.md)
- [github.com/block/buzz/blob/main/deploy/compose/run.sh](https://github.com/block/buzz/blob/main/deploy/compose/run.sh)

## Keep reading

- [Self-host any app with your agent](https://envhaven.com/self-host)
- [Self-host Mattermost](https://envhaven.com/self-host/mattermost)
- [Self-host Rocket.Chat](https://envhaven.com/self-host/rocket-chat)
- [Self-host Matrix Synapse](https://envhaven.com/self-host/matrix-synapse)
- [AI agent hosting](https://envhaven.com/guides/ai-agent-hosting)

Source: https://envhaven.com/self-host/buzz
