Skip to content

Deploying on Coolify

Coolify is an open-source, self-hosted PaaS. You can deploy Spokes on Coolify as a Docker Compose Empty resource.

  1. In your Coolify dashboard, open your project and click + New -> Docker Compose Empty.
  2. Paste the following Compose configuration. Notice how we use ${COOLIFY_VOLUME_APP} for persistent storage on /data and pass SPOKES_MASTER_PASSWORD via environment variables:
services:
spokes:
image: ghcr.io/pcbeeqc/spokes:latest
restart: unless-stopped
ports:
# LiveKit TCP Fallback (Must be mapped 1-to-1)
- "7881:7881"
# LiveKit UDP Mux Range (Must be mapped 1-to-1)
- "30000-30007:30000-30007/udp"
volumes:
- ${COOLIFY_VOLUME_APP}:/data
environment:
- SPOKES_MASTER_PASSWORD=${SPOKES_MASTER_PASSWORD}

2. Configure Domain and Environment Variables

Section titled “2. Configure Domain and Environment Variables”
  1. Domains: In the Coolify service settings for spokes, set your domain name with port 8080 so Coolify's built-in proxy (Traefik or Caddy) routes HTTPS traffic to the container's internal Web UI port (for example, https://spokes.yourdomain.com:8080).
  2. Environment Variables: Go to the Environment Variables tab in Coolify and add SPOKES_MASTER_PASSWORD with a strong, random password. Save a copy of this password in your password manager, as it is required to decrypt server backups and encrypted server secrets.
  3. Click Deploy to pull the image and start Spokes.

Now that your Spokes container is running, configure your network and walk through initial setup: