Prerequisites
Before you begin, ensure you have the following installed on your server or local machine:- Docker engine (install with
curl https://get.docker.com | sh)
Installation Steps
1
Configure Environment Variables
To connect the worker to your dashboard, you need to provide the Add the following variables to your
WORKER_API_KEY and DASHBOARD_URL.First, create a worker in your dashboard to generate the
WORKER_API_KEY. See Worker Configuration for instructions..env file:2
Add to Docker Compose
You can append the worker service to your existing The event spool volume preserves monitor results that are waiting for
delivery if the worker is replaced before graceful shutdown.
docker-compose.yml file used for the dashboard. Add the following service definition:If you are running the worker on a separate server, you will need to set up a full
docker-compose.yml similar to the dashboard installation, but only running the worker service.3
Start the Worker
Update your stack to include the new worker service:
4
Verify Worker Status
Check the logs to ensure the worker is processing jobs: