Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Use YugabyteDB in swan-provider #244

Open
Normalnoise opened this issue Apr 7, 2024 · 0 comments
Open

How to Use YugabyteDB in swan-provider #244

Normalnoise opened this issue Apr 7, 2024 · 0 comments

Comments

@Normalnoise
Copy link
Contributor

If you want to use the Yugabyte in the boostd, please follow the steps to config:

#!/bin/bash
nohup boostd-data run yugabyte --hosts [ip]--connect-string="postgres://yugabyte:yugabyte@[ip]:5433/yugabyte?sslmode=disable" --addr 0.0.0.0:8044 >> yugabyte.log 2>&1 &

Reference: https://boost.filecoin.io/deployment/boostd-data

  • Update the config file of boostd to support yugabyte
[LocalIndexDirectory]
ServiceApiInfo = "ws://localhost:8044"

[LocalIndexDirectory.Yugabyte]
Enabled = true
ConnectString = "postgres://yugabyte:yugabyte@[ip]"

[LocalIndexDirectory.Leveldb]
Enabled = false

Note8044 is the listen port of the boostd-data service

  • Restart the swan-provider
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant