Run Witnet as a docker compose service
Prerequisites
Make sure you have docker installed, newer versions comes bundled with docker compose
Verify by running
Deploy
Make a new directory & Create a docker-compose.yml file there
Make sure to replace the volume path with your desired path eg.
/home/ubuntu/witnet
It's also a good idea to limit your log file max size to avoid crashing the node from the overflowing logs
Start Service
Stop Service
Check the service logs
Every time you edit the docker-compose.yml file to update you need to run docker compose up -d
Last updated
Was this helpful?