-
Notifications
You must be signed in to change notification settings - Fork 157
Run the worker using Docker
b0red-man edited this page Aug 16, 2026
·
6 revisions
Docker can be used to convienently run the fishtest worker without having to worry about the local environment and dependencies.
The worker uses an alpine:edge base image and runs apk updates in the background to keep the software stack up to date.
This is useful to get the latest compilers and tools for running the worker.
- Clone the repository
git clone https://github.com/official-stockfish/docker-fishtest- Enter the worker directory
cd worker- Create the .env file based on the example one.
cp .env.example .env-
Update the
.envfile with your credentials -
Start the worker using docker compose:
docker compose up -d
Notes:
- The container will auto start in the background after a reboot
- When using the image from our container registry, the following two commands can be run to update the worker image.
Generally it shouldn't be required to update the git repo itself after the first clone.
docker compose pull
docker compose up -d