- Download the lava sources:
git clone https://github.com/lavanet/lava.git
- Build the lava docker image locally
# to build from the current checked-out code:
make docker-build
# to build a specific lava version
LAVA_BUILD_OPTIONS="release" LAVA_VERSION=0.4.3 make docker-build
The result would be a docker image names lava
tagged with the version.
For example the output of docker images
after the above:
lava 0.4.3 bc3a85c7623f 2 hours ago 256MB
lava latest bc3a85c7623f 2 hours ago 256MB
lava 0.4.3-a5e1202-dirty 5ff644084c3d 2 hours ago 257MB
TODO
Run Lava Node
-
Review the settings in
docker/env
(sections "common setup" and "common runtime"). The default settings are usually suitable for all deployments. -
Use the following the commands to create/start/stop/destroy the node:
# operate in docker/ directory:
cd docker/
# to start the node:
docker-compose --profile node --env-file env -f docker-compose.yml up
# to stop/restart the node:
docker-compose --profile node --env-file env -f docker-compose.yml stop
docker-compose --profile node --env-file env -f docker-compose.yml start
# to destroy the node:
docker-compose --profile node --env-file env -f docker-compose.yml down
Run Lava Portal / Provider
This section is outdated and is temporarily removed.