You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edit the docker devnet Boost config ./docker/devnet/data/boost/config.toml:
Replace SealerApiInfo and SectorIndexApiInfo with the value for MINER_API_INFO above.
Update the API.ListenAddress to use ip4 ListenAddress = "/ip4/127.0.0.1/tcp/1288/http"
Update Tracing.Endpoint to use ip4 Endpoint = "http://tempo:14268/api/traces"
Debug to your hearts content.
Note: You can skip editing the config.toml file (step 7) if you add the following to your /etc/hosts file:
## Boost testing
127.0.0.1 lotus
127.0.0.1 lotus-miner
127.0.0.1 boost
127.0.0.1 tempo
## End of section
I would like to make this simpler in the future, but wanted to document this now in case it's useful to others. Multi boost process support should make this easier, and updating docker settings the the dns host addresses could help minimize the need to update addresses there.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Sometimes it's convenient to run a local devnet in docker while being able to quickly run and debug a local Boost instance.
My current process for this is to:
docker compose up -d lotus lotus-miner boost demo-http-server
docker compose stop boost
MINER_API_INFO
andFULLNODE_API_INFO
values:./docker/devnet/data/boost/config.toml
:SealerApiInfo
andSectorIndexApiInfo
with the value forMINER_API_INFO
above.API.ListenAddress
to use ip4ListenAddress = "/ip4/127.0.0.1/tcp/1288/http"
Tracing.Endpoint
to use ip4Endpoint = "http://tempo:14268/api/traces"
Note: You can skip editing the config.toml file (step 7) if you add the following to your /etc/hosts file:
I would like to make this simpler in the future, but wanted to document this now in case it's useful to others. Multi boost process support should make this easier, and updating docker settings the the dns host addresses could help minimize the need to update addresses there.
Beta Was this translation helpful? Give feedback.
All reactions