Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to 0.9.43 #27

Closed
wants to merge 12 commits into from
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN apt update && \
apt clean && \
rm -rf /var/lib/apt/lists/*

EXPOSE 30333 30343 9933 9944
EXPOSE 30333 30343 9944

WORKDIR node

Expand Down
8 changes: 2 additions & 6 deletions docker/academy-chain-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,15 @@ services:
- NAME=Node01
- NODE_KEY_FILE=/data/$NODE01_ACCOUNT_ID/p2p_secret.txt
- PORT=30333
- RPC_PORT=9933
- RPC_PORT=9944
- RUST_LOG=info
- BOOT_NODES=/ip4/127.0.0.1/tcp/30333/p2p/$NODE01_PEER_ID
- PUBLIC_ADDR=/ip4/127.0.0.1/tcp/30333
volumes:
- $BASE_PATH/:/data/
expose:
- 30333
- 9933
- 9944
ports:
- 0.0.0.0:30333:30333
JoshOrndorff marked this conversation as resolved.
Show resolved Hide resolved
- 0.0.0.0:9933:9933
- 0.0.0.0:9944:9944

node02:
Expand All @@ -44,7 +40,7 @@ services:
- NAME=Node02
- NODE_KEY_FILE=/data/$NODE02_ACCOUNT_ID/p2p_secret.txt
- PORT=30334
- RPC_PORT=9934
- RPC_PORT=9945
- RUST_LOG=info
- BOOT_NODES=/ip4/127.0.0.1/tcp/30333/p2p/$NODE01_PEER_ID
- PUBLIC_ADDR=/ip4/127.0.0.1/tcp/30333
Expand Down
2 changes: 1 addition & 1 deletion docker/docker_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ NODE_KEY_FILE=${NODE_KEY_FILE:?'Node key file should be specified'}
BASE_PATH=${BASE_PATH:?'Base path should be specified'}
CHAIN=${CHAIN:?'Chain should be specified'}
PORT=${PORT:-30333}
RPC_PORT=${RPC_PORT:-9933}
RPC_PORT=${RPC_PORT:-9944}
NAME=${NAME:?'Name should be specified'}

# booleans
Expand Down