Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,38 @@ To start the nodes, navigate to the output folder that the generated docker scri
cd ./output
docker-compose up -d --build
```

## Run full node with docker

### Create `bifrost-fullnode` directory, generate `node-key` and get `bifrost.json`

```sh
mkdir -p ~/bifrost-fullnode/network
subkey generate-node-key --file ~/bifrost-fullnode/network/node-key
wget -O ~/bifrost-fullnode/bifrost.json https://github.com/bifrost-finance/bifrost/releases/download/bifrost-v0.8.0/bifrost.json
```

### Start the node with docker

Replace your-fullnode-name
```sh
docker pull bifrostnetwork/bifrost:v0.8.1-fix_crash
docker run -d \
-v ~/bifrost-fullnode:/bifrost \
-p 9944:9944 \
-p 9933:9933 \
-p 30333:30333 \
-p 9615:9615 \
bifrostnetwork/bifrost:v0.8.1-fix_crash \
--name your-fullnode-name \
--base-path "/bifrost" \
--node-key-file "/bifrost/network/node-key" \
--chain "/bifrost/bifrost.json" \
--parachain-id 2001 \
--pruning=archive \
--prometheus-external \
--rpc-external \
--ws-external \
--rpc-cors all \
--execution wasm
```