Using Docker

docker run -d \
  --name relay \
  -p 3000:3000 \
  -p 43321:43321 \
  -v relay-data:/app/data \
  registry.europe.network.btoven.net/relay-btoven:latest

Using Docker Compose

version: "3"
services:
  relay:
    image: registry.europe.network.btoven.net/relay-btoven:latest
    ports:
      - "3000:3000"
      - "43321:43321"
    volumes:
      - ./data:/app/data
    environment:
      - RUST_LOG=info

Verify

curl http://localhost:3000/api/v1/health

What Happens on First Start

  1. A cryptographic identity is generated and saved to /app/data/identity.json
  2. The API server starts on port 3000
  3. The health checker begins pinging registered instances
  4. If --searxng is enabled, a seed set of SearXNG instances is loaded

Next Steps