Step 2 - Portainer
Deploying Spokes via Portainer is incredibly simple thanks to our custom App Template. This allows you to deploy Spokes with a single click natively within your Portainer dashboard.
Prerequisites
Section titled “Prerequisites”- A Linux host running Docker and Portainer.
- A static IP assigned to your host machine on your local network (LAN).
- You have completed Step 1: Planning Your Deployment and have decided on your ports.
1. Add the Spokes App Template
Section titled “1. Add the Spokes App Template”First, we need to tell Portainer where to find the Spokes configuration.
- Open your Portainer web interface.
- In the left sidebar, navigate to Settings.
- Scroll down to the App Templates section.
- In the Use custom templates field, paste the following URL:
https://spokes.sh/templates.json
- Click Save settings.
2. Deploy Spokes
Section titled “2. Deploy Spokes”Now that Portainer knows about Spokes, deploying it takes just a few clicks.
- In the left sidebar, navigate to App Templates.
- You should now see the Spokes application in the list. (You can search for “Spokes” or look under the “Communication” category).
- Click on the Spokes template.
- A deployment screen will appear.
- Under the Env section, you will see a field for
SPOKES_MASTER_PASSWORD.- Crucial: Enter a highly secure password here. This is the master encryption key used for secure channel escrows.
- Click the Deploy the stack button.
Portainer will now download the latest Spokes container and spin up your deployment.
3. Next Steps
Section titled “3. Next Steps”Once the stack finishes deploying and the container is running, navigate to the web interface (e.g., http://your-server-ip:8080) to complete Step 3: The Setup Wizard!