Skip to content

Commit

Permalink
Upgrade a docker image on mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKim20 committed Aug 1, 2023
1 parent 7b72ec7 commit 148b952
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions networks/mainnet/agora.bat
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if "%~1"=="el-node" (
docker run -it ^
-v %cd%\root:/root ^
--name el-node --rm ^
bosagora/agora-el-node:v2.0.0 ^
bosagora/agora-el-node:v2.0.1 ^
--datadir=/root/chain/el ^
init /root/config/el/genesis.json

Expand All @@ -44,7 +44,7 @@ if "%~1"=="el-node" (
docker run -it ^
-v %cd%\root:/root ^
--name el-node --rm ^
bosagora/agora-el-node:v2.0.0 ^
bosagora/agora-el-node:v2.0.1 ^
--datadir=/root/chain/el ^
init /root/config/el/genesis.json

Expand All @@ -54,7 +54,7 @@ if "%~1"=="el-node" (
-v %cd%\root:/root ^
-p 6060:6060 -p 8545:8545 -p 30303:30303 -p 30303:30303/udp ^
--name el-node --rm ^
bosagora/agora-el-node:v2.0.0 ^
bosagora/agora-el-node:v2.0.1 ^
--config=/root/config/el/config.toml ^
--datadir=/root/chain/el ^
--syncmode=full --metrics --metrics.addr=0.0.0.0 --metrics.port=6060
Expand All @@ -64,7 +64,7 @@ if "%~1"=="el-node" (
docker run -it ^
-v %cd%\root:/root ^
--name el-node-attach --rm ^
bosagora/agora-el-node:v2.0.0 ^
bosagora/agora-el-node:v2.0.1 ^
--config=/root/config/el/config.toml ^
--datadir=/root/chain/el ^
attach /root/chain/el/geth.ipc
Expand Down Expand Up @@ -513,7 +513,7 @@ if "%~1"=="el-node" (
-v %cd%\..\..\:/agora-chain ^
--network host ^
--name el-node --rm ^
bosagora/agora-el-node:v2.0.0 ^
bosagora/agora-el-node:v2.0.1 ^
--config=/root/config/el/config.toml ^
--datadir=/root/chain/el ^
!args!
Expand Down
10 changes: 5 additions & 5 deletions networks/mainnet/agora.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if [ "$1" = "el-node" ]; then
docker run -it \
-v "$(pwd)"/root:/root \
--name el-node --rm \
bosagora/agora-el-node:v2.0.0 \
bosagora/agora-el-node:v2.0.1 \
--datadir=/root/chain/el \
init \
/root/config/el/genesis.json
Expand All @@ -55,7 +55,7 @@ if [ "$1" = "el-node" ]; then
docker run -it \
-v "$(pwd)"/root:/root \
--name el-node --rm \
bosagora/agora-el-node:v2.0.0 \
bosagora/agora-el-node:v2.0.1 \
--datadir=/root/chain/el \
init \
/root/config/el/genesis.json
Expand All @@ -66,7 +66,7 @@ if [ "$1" = "el-node" ]; then
-v "$(pwd)"/root:/root \
-p 6060:6060 -p 8545:8545 -p 30303:30303 -p 30303:30303/udp \
--name el-node --rm \
bosagora/agora-el-node:v2.0.0 \
bosagora/agora-el-node:v2.0.1 \
--config=/root/config/el/config.toml \
--datadir=/root/chain/el \
--syncmode=full --metrics --metrics.addr=0.0.0.0 --metrics.port=6060
Expand All @@ -76,7 +76,7 @@ if [ "$1" = "el-node" ]; then
docker run -it \
-v "$(pwd)"/root:/root \
--name el-node-attach --rm \
bosagora/agora-el-node:v2.0.0 \
bosagora/agora-el-node:v2.0.1 \
--config=/root/config/el/config.toml \
--datadir=/root/chain/el \
attach /root/chain/el/geth.ipc
Expand Down Expand Up @@ -614,7 +614,7 @@ elif [ "$1" = "exec" ]; then
-v "$(pwd)"/../../:/agora-chain \
--network host \
--name el-node-exec --rm \
bosagora/agora-el-node:v2.0.0 \
bosagora/agora-el-node:v2.0.1 \
--datadir=/root/chain/el \
--config=/root/config/el/config.toml \
"$@"
Expand Down
2 changes: 1 addition & 1 deletion networks/mainnet/docker-compose-monitoring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.3'
services:
agora-el-node:
container_name: agora-el-node
image: bosagora/agora-el-node:v2.0.0
image: bosagora/agora-el-node:v2.0.1
ports:
- "6060:6060"
- "8545:8545"
Expand Down
2 changes: 1 addition & 1 deletion networks/mainnet/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.3'
services:
agora-el-node:
container_name: agora-el-node
image: bosagora/agora-el-node:v2.0.0
image: bosagora/agora-el-node:v2.0.1
ports:
- "6060:6060"
- "8545:8545"
Expand Down

0 comments on commit 148b952

Please sign in to comment.