Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

golemfactory/docker-provider

Open more actions menu

Repository files navigation

Project Setup

Requirements

  • Docker
  • Docker-compose
  • A Linux machine with nested virtualization enabled inside your BIOS

Procedure

  1. Set your wallet address inside the JSON file located at data-node/ya-provider/globals.json
  2. Build the Docker image using docker-compose build.
  3. Start the provider with docker-compose up -d.

Configuration

Switching Between Mainnet and Testnet

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.

Modifying Prices

Update the presets.json file in the data-node/ya-provider directory to adjust prices.

Modifying Node Details

Modify the globals.json file in the data-node/ya-provider directory to update node details like node name, subnet, and wallet address.

Adjusting Hardware Resources

To adjust the hardware resources, update the hardware.json file in the data-node/ya-provider directory.

Scaling Instances

To scale instances, execute docker-compose up -d --scale provider=3.

About

A useful tool for spinning up a provider via Docker with just 1-2 commands.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.