Relay - Docker

Run a Mesh relay server using Docker. This is the easiest way to get started.

Prerequisites

  • Docker installed on your system
  • Port 3030 available

Installation

Terminal
# Pull the Docker image
docker pull mesh/relay:latest

# Run the relay server
docker run -d \
  --name mesh-relay \
  -p 3030:3030 \
  -e RELAY_PORT=3030 \
  mesh/relay:latest

Configuration

You can customize the relay with environment variables:

  • RELAY_PORT - Port to listen on (default: 3030)
  • LOG_LEVEL - Logging level (default: info)
  • MAX_CONNECTIONS - Maximum connections (default: 1000)

Verify

docker logs -f mesh-relay