Skip to content

Commit

Permalink
Update path in doc for docker
Browse files Browse the repository at this point in the history
The docker example uses all necessary parameters.
Is readable and runable at the same time.
  • Loading branch information
simonsso committed Mar 14, 2024
1 parent 2591568 commit 7fc8f35
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,5 @@ cargo build --release -p nodle-parachain && polkadot-launch launch.json
## With docker

1. Build the image: `docker build -t nodle/chain -f ./Dockerfile .`.
2. Run it: `docker run -v /path/to/local/repertory:/data -p 9944:9944 -it nodle/chain --chain=eden-testing --base-path=/data`.
for instance as:
`docker run -v /mnt/d1/.local/share/nodle-parachain-2.2.2:/data -p 9944:9944 -p 9933:9933 -p30333:30333 -it nodle/chain --chain=eden-testing --base-path=/data --rpc-methods=safe --rpc-cors all --rpc-external -- --rpc-external`
2. Run it:
`docker run -v ~/.local/path_to_parachain_data_dir:/data -p 9944:9944 -p 9933:9933 -p30333:30333 -it nodle/chain --chain=eden-testing --base-path=/data --rpc-methods=safe --rpc-cors all --rpc-external -- --rpc-external`.

0 comments on commit 7fc8f35

Please sign in to comment.