Skip to content

Nostr Relay Tutorial

Companion to Nostr Tutorial

wget -O config.toml https://raw.githubusercontent.com/vdo/nostr-rs-relay-compose/main/config.toml
wget -O config.toml https://git.sr.ht/~gheartsfield/nostr-rs-relay/blob/HEAD/config.toml

mkdir data
sudo chown -R 1000 data


version: '3'
services:
  nostr-rs-relay:
    image: scsibug/nostr-rs-relay:latest
    user: "1000:1000"
    ports:
      - "7000:8080"
    volumes:
      - "./config.toml:/usr/src/app/config.toml"
      - "./data:/usr/src/app/db"


Sources