-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Libra-node container image | ||
|
||
Run the container with a volume mount at `/root/.libra`, for example like this to deploy a full node: | ||
|
||
```shell | ||
$ cd some-handy-place | ||
$ mkdir libra-home | ||
$ export libra_container_tag=ghcr.io/0lnetworkcommunity/libra-framework/libra-node:latest | ||
$ docker run -it --volume $(pwd)/libra-home:/root/.libra ${libra_container_tag} libra-config fullnode-init | ||
downloaded genesis block | ||
config created at /root/.libra/fullnode.yaml | ||
fullnode configs initialized ·································· ✓ | ||
$ docker run -it -d --volume $(pwd)/libra-home:/root/.libra -p 9101:9101 -p 6182:6182 -p 8080:8080 ${libra_container_tag} libra node | ||
``` | ||
The node's API service is now available on port 8080 and monitoring on port 9101. |