Install & Start (Server / Docker)
Deploy flow (single path):
- Run
make install-verifier-service(builds the Docker image and starts the container) - Verify the deployment
Step 1: Build locally (binary + Docker image)
SSH into the server where you will run the container.
cd ~/solana-governance
make install-verifier-serviceStep 2: Enter configuration (prompted by setup.sh)
Before you run make install-verifier-service, generate a METRICS_AUTH_TOKEN (required for /admin/stats):
# Generates a random hex token (copy/paste the output into the prompt)
METRICS_AUTH_TOKEN="$(openssl rand -hex 32)"
echo "$METRICS_AUTH_TOKEN"When prompted, enter:
OPERATOR_PUBKEYMETRICS_AUTH_TOKENPORT_HOST(example:8000, which maps8000 -> 3000)
make install-verifier-service runs setup.sh, which starts container verifier, exposes PORT_HOST -> 3000, persisting data under /srv/verifier/data, and will skip docker pull if the requested image tag already exists locally.
Step 3: Verify
Replace <PORT_HOST> with your PORT_HOST:
sudo docker ps
curl -i http://127.0.0.1:<PORT_HOST>/healthz
curl -s http://127.0.0.1:<PORT_HOST>/versionIf it fails, check logs:
sudo docker logs --tail=200 verifierLast updated on