Back to catalog
Strfry logo

Self-Host with Docker · Yantr

Strfry

High-performance nostr relay with LMDB storage for decentralized social networking.

About

Strfry is a high-performance relay for Nostr (Notes and Other Stuff Transmitted by Relays), a decentralized social network protocol. Nostr uses simple JSON messages that get relayed between users through multiple relays - no central server required. Running your own Strfry relay gives you control over your piece of the network, supports the protocol, and can provide a more reliable connection for your clients. Features include ultra-fast LMDB storage for high throughput, WebSocket connections, NIP-01 basic protocol support, configurable event limits, and compression.

How to Self-Host Strfry

Strfry can be deployed with standard Docker Compose using the Yantr app catalog. This page collects the basic information searchers usually need first: what Strfry does, which Docker image Yantr uses, default ports, dependencies, and where to find the original compose template.

If you searched for Strfry Docker, Strfry Docker Compose, or self-host Strfry, this page is the direct landing page for that app in Yantr's catalog.

Use Cases

  • Run your own nostr relay to support the decentralized network.
  • Host a relay for friends or community with custom policies.
  • Build your own piece of the nostr network.
  • Use as a personal relay for your own notes.

Technical Details

Ports

Port Protocol Label
7777 HTTP Relay

Docker Image

ghcr.io/hoytech/strfry:latest

Service Name

strfry

Notes

  • Uses LMDB for fast, high-capacity storage
  • Connects to other relays to share events
  • Configure limits for spam prevention

Related Apps

More App Pages

Explore the full app catalog for more self-hosted services, alternatives, and dependencies that work alongside Strfry.

Page generated 2026-03-06T16:43:27.553Z