Skip to content

Self-hosting the Relay

The relay server is a single Go binary that handles HTTP push and WebSocket delivery, backed by SQLite.

Terminal window
docker run -d \
-p 8080:8080 \
-v cinch-data:/data \
ghcr.io/jinmugo/cinch-relay:latest
services:
relay:
image: ghcr.io/jinmugo/cinch-relay:latest
ports:
- "8080:8080"
volumes:
- cinch-data:/data
volumes:
cinch-data:
Terminal window
git clone https://github.com/JinmuGo/cinch.git
cd cinch
make build-relay
./dist/relay