Sign In
Self-Hosting

Local Development & Single Container

A full Rivet cluster can be ran in a single container for use cases like:

  • Develop your app with a local Rivet cluster
  • Including in an existing Docker Compose project
  • Quick, single-node deployments

Prerequisites

  • Docker

Operation

Run with Docker CLI

Start a Rivet cluster:

Data will be stored in a folder named rivet-data in your current directory.

Next, follow the setup guide.

Integrate in to existing Docker Compose

Integrate in to an existing project's Docker Compose with:

services:
  rivet:
    image: rivetgg/rivet
    platform: linux/amd64
    volumes:
      - rivet-data:/data
    ports:
      - "8080:8080"
      - "9000:9000"
      - "7080:7080"
      - "7443:7443"
      # Optional: Rivet Guard TCP & UDP
      - "7500-7599:7500-7599"
      # Optional: Host networking TCP & UDP
      - "7600-7699:7600-7699"

volumes:
  rivet-data:
YAML
Suggest changes to this page