Then build the Computing provider follow the below steps:
makeclean&&makemakeinstall
Update Configuration The computing provider's configuration sample locate in ./go-computing-provider/config.toml.sample
cp config.toml.sample config.toml
Edit the necessary configuration files according to your deployment requirements. These files may include settings for the computing-provider components, container runtime, Kubernetes, and other services.
[API]Port =8085# The port number that the web server listens onMultiAddress ="/ip4/<public_ip>/tcp/<port>"# The multiAddress for libp2pDomain =""# The domain nameRedisUrl ="redis://127.0.0.1:6379"# The redis server addressRedisPassword =""# The redis server access password[LOG]CrtFile ="/YOUR_DOMAIN_NAME_CRT_PATH/server.crt"# Your domain name SSL .crt file pathKeyFile ="/YOUR_DOMAIN_NAME_KEY_PATH/server.key"# Your domain name SSL .key file path[LAG]ServerUrl ="https://api.lagrangedao.org"# The lagrangedao.org API addressAccessToken = "" # Lagrange access token, acquired from “https://lagrangedao.org -> setting -> Access Tokens -> New token”
[MCS]ApiKey = "" # Acquired from "https://www.multichain.storage" -> setting -> Create API Key
BucketName =""# Acquired from "https://www.multichain.storage" -> bucket -> Add BucketNetwork ="polygon.mainnet"# polygon.mainnet for mainnet, polygon.mumbai for testnetFileCachePath ="/tmp"# Cache directory of job data[Registry] ServerAddress = "" # The docker container image registry address, if only a single node, you can ignore
UserName =""# The login username, if only a single node, you can ignorePassword =""# The login password, if only a single node, you can ignore