Railway

Deploy Buzz Relay

Nostr relay with built-in Git hosting. Auto-wired Postgres, Redis, MinIO.

Deploy Buzz Relay

/data/git

/data

/data

Just deployed

/var/lib/postgresql

Deploy and Host

About Hosting

Buzz Relay is a Nostr relay with built-in Git hosting over Nostr (NIP-89). It lets you push and pull Git repositories through the Nostr protocol, with media uploads stored on S3-compatible object storage.

Why Deploy

  • One-click Nostr relay — fully configured with auto-generated secrets
  • Git over Nostr — push/pull repos via NIP-89 compatible clients
  • Media storage — S3-compatible object storage for blobs and attachments
  • Zero-config — all credentials auto-generated, services auto-wired

Common Use Cases

  • Self-hosted Nostr relay for personal or community use
  • Git repository hosting over the Nostr protocol
  • Decentralized code collaboration with Nostr identity
  • Media storage for Nostr events and attachments

Dependencies for Buzz Relay

Deployment Dependencies

  • PostgreSQL — database for relay state and metadata
  • Redis — pub/sub cache for real-time event distribution
  • MinIO — S3-compatible object storage for media uploads

Services

ServiceImagePurpose
relayghcr.io/block/buzz:mainNostr relay (buzz-relay binary)
postgrespostgres:16-alpineDatabase for relay state
redisredis:7-alpinePub/sub cache
miniominio/minioS3-compatible media storage

Environment Variables

All variables auto-populated from companion services:

VariableSourceDescription
DATABASE_URLpostgresPostgreSQL connection URL
REDIS_URLredisRedis connection URL
BUZZ_S3_ENDPOINTminioS3 endpoint for media
BUZZ_S3_ACCESS_KEYminioS3 access key
BUZZ_S3_SECRET_KEYminioS3 secret key
BUZZ_RELAY_PRIVATE_KEYauto-generatedNostr relay signing key

Architecture

                   +----------------------+
                   |       relay          |
                   |   ghcr.io/block/buzz |
                   |   :main              |
                   +------+---------------+
                          |
          +---------------+---------------+
          |               |               |
   +------+------+ +-----+------+ +------+------+
   |   postgres   | |   redis    | |    minio    |
   |  postgres:16 | |  redis:7   | |   minio     |
   +--------------+ +------------+ +-------------+

Health Checks

  • Relay: /_readiness on port 8080
  • Postgres: built-in
  • Redis: redis-cli ping
  • Minio: /minio/health/live

Deployment

Click the button below to deploy. No configuration needed:

Deploy on Railway

Post-Deploy

  1. Relay is accessible at your Railway public domain
  2. Nostr clients can connect via wss://
  3. Git repos are persisted at /data/git on the relay volume
  4. Media uploads go to the MinIO bucket

Notes

  • Default database credentials: postgres / postgres (rotate in dashboard before production)
  • Default Redis password: redis (rotate in dashboard before production)
  • Default MinIO credentials: minioadmin / auto-generated password (rotate in dashboard before production)
  • Nostr relay private key is auto-generated on first deploy

Template Content

More templates in this category

View Template
Chat Chat
Chat Chat, your own unified chat and search to AI platform.

okisdev
116
View Template
stella
Self-host stella with web, API, Postgres, Redis, and object storage.

Jan Kubica
3
View Template
Hermes Agent | OpenClaw Alternative with Dashboard
Self-Hosted Hermes AI Agent for Telegram, Discord & Slack

codestorm
64