- Docker
- Docker-compose
- A Linux machine with nested virtualization enabled inside your BIOS
- Set your wallet address inside the JSON file located at data-node/ya-provider/globals.json
- Build the Docker image using
docker-compose build
. - Start the provider with
docker-compose up -d
.
By default, the provider starts on the testnet. You can switch to the mainnet by modifying the Dockerfile
. Replace --payment-network testnet
with --payment-network mainnet
in CMD.
Update the presets.json
file in the data-node/ya-provider
directory to adjust prices.
Modify the globals.json
file in the data-node/ya-provider
directory to update node details like node name, subnet, and wallet address.
To adjust the hardware resources, update the hardware.json
file in the data-node/ya-provider
directory.
To scale instances, execute docker-compose up -d --scale provider=3
.