Skip to content

Docker Compose (All-in-One)

The All-in-One method is the easiest way to host Spokes on a generic Linux machine. By using this configuration, you get:

  1. Automated SSL Certificates via a bundled Caddy reverse proxy.
  2. Automated Server Updates via a bundled Watchtower container that lets you update your server with a single click in the UI (or automatically when new versions are released).
  • A Linux host with Docker and Docker Compose installed.
  • A static IP assigned to your host machine on your local network (LAN).
  • TCP ports 80, 443, and 7881, plus UDP ports 30000-30007 must be available and forwarded on your host.
  • A domain name (e.g., spokes.yourdomain.com) pointing to your server's public IP address.

We provide an installation script that configures your Docker daemon, applies Linux UDP buffer optimizations for real-time voice and video, generates random passwords and tokens in /opt/spokes/.env, and creates the docker-compose.yml and Caddyfile for you.

Run the following command on your Linux server:

Terminal window
curl -fsSL https://spokes.sh/install.sh | sudo bash

The script places all of your configuration files in /opt/spokes.

Once the installation script completes, navigate to your new directory and start the containers:

Terminal window
cd /opt/spokes
docker compose up -d

Note: It may take 1 to 2 minutes for the Spokes server to initialize on first boot.


Now that your Spokes container is running with its bundled Caddy reverse proxy, you can complete the initial configuration in your browser:

  • The Setup Wizard: Complete the initial configuration and set up your identity provider.