Deploying on Coolify
Coolify is an open-source, self-hosted PaaS. You can deploy Spokes on Coolify as a Docker Compose Empty resource.
1. Create the Docker Compose Resource
Section titled “1. Create the Docker Compose Resource”- In your Coolify dashboard, open your project and click + New -> Docker Compose Empty.
- Paste the following Compose configuration. Notice how we use
${COOLIFY_VOLUME_APP}for persistent storage on/dataand passSPOKES_MASTER_PASSWORDvia 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”- Domains: In the Coolify service settings for
spokes, set your domain name with port8080so 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). - Environment Variables: Go to the Environment Variables tab in Coolify and add
SPOKES_MASTER_PASSWORDwith 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. - Click Deploy to pull the image and start Spokes.
Next Steps
Section titled “Next Steps”Now that your Spokes container is running, configure your network and walk through initial setup:
- Network Routing: Configure port forwarding and firewall rules for LiveKit voice and video.
- The Setup Wizard: Complete the initial configuration and set up your identity provider.
- Connect with Official Client Apps: Download the official native iOS (Apple App Store), Android (Google Play), and desktop apps (or use the Web/PWA client) to connect to your server.
