Skip to content

CasaOS

You can deploy Spokes on CasaOS using the Custom Install feature in the App Store and importing a Docker Compose configuration.

  • A device running CasaOS.
  • You have decided on your ports and generated a master password.

  1. Log in to your CasaOS web interface.
  2. Click on the App Store icon on the dashboard.
  3. In the top right corner of the App Store window, click the Custom Install button.
  4. In the Custom Install dialog, click the Import button (top right corner, next to the close button).
  5. Paste the following Docker Compose YAML into the text area:
services:
spokes:
image: ghcr.io/pcbeeqc/spokes:latest
container_name: spokes_server
restart: unless-stopped
ports:
- "8080:8080"
- "7881:7881"
- "30000-30007:30000-30007/udp"
volumes:
- /DATA/AppData/spokes:/data
environment:
- SPOKES_MASTER_PASSWORD=YourSecureMasterPasswordHere
  1. Click Submit. CasaOS will parse the YAML and populate the form fields.
  2. Customize the following fields in the populated form:
    • Icon URL: Paste https://spokes.sh/logo.png (or https://raw.githubusercontent.com/PCBeeQC/unraid-templates/main/logo.png) to display the Spokes icon on your dashboard.
    • Web UI Port: Under Ports, change the Host Port (default 8080) if you want to run the Web UI on a different port. Keep the 7881 TCP and 30000-30007 UDP voice ports mapped 1-to-1.
    • Volume Path: Under Volumes, adjust the Host Path (default /DATA/AppData/spokes) if you want to store application data in a different folder.
    • Master Password: Under Environment Variables, replace YourSecureMasterPasswordHere with a strong master password and save a copy in your password manager.
  3. Click Install to pull the image and create the container. Once running, Spokes will appear on your CasaOS dashboard!

Now that your Spokes container is running, it's time to secure it and configure your network: