Setup by using docker
You'll need git, nano, docker(with compose plugin)
and a stable internet connection
dc = docker compose
Clone this repo to local and configure it
git clone https://github.com/lotusnetwork/bodhi-docker.git
If you want to use bodhi on arm server, please replace
image: ghcr.io/lotusnetwork/bodhi-docker
in docker-compose.yml with
build: https://github.com/lotusnetwork/bodhi-docker.git
Copy your cert and key to bodhi-docker/data
now your data folder structure should be something like this
|- docker-compose.yml
|- data/
|- hysteria
|- config.ini
|- cert.crt
|- key.key
|- bin/
|- yq
files in this folder will be mapped as /gateway in the container
Modify config.ini
upstream_api=https://example.com <- board address
Modify it
api_port=7653 <- Hysteria api port
nodeid=1 <- remote nodeID
Modify it
core_path=/gateway/hysteria <- path to hysteria executable
tls_cert=/gateway/cert.crt <-path to tls cert
Modify it
tls_key=/gateway/key.key <- path to tls key
Modify it
psk=leuleuleuleu <- password for nodeAPI
Modify it
obfs=true/false <- enable/disable obfs in hysteria
Modify it if you're not using lotusboard
acl=
fill your acl conf path here
Set obfs to true when using v2board
Engage bodhi
dc up -d