Fix cronos port collision: remove hardcoded client_port 10521 from context.yml
cronos-mainnet now uses port 11552, cronos-testnet uses port 14547 to prevent Bind for 0.0.0.0:10521 port already allocated errors on rpc-de-35 cronosd supports custom P2P_PORT via ct_patch_p2p in init.sh, so auto-generated ports are wired through correctly via P2P_PORT env var.
This commit is contained in:
@@ -50,8 +50,8 @@ services:
|
||||
nofile: 1048576 # Max open files (for RPC/WS connections)
|
||||
user: root
|
||||
ports:
|
||||
- 10521:10521
|
||||
- 10521:10521/udp
|
||||
- 11552:11552
|
||||
- 11552:11552/udp
|
||||
expose:
|
||||
- 8545
|
||||
- 8546
|
||||
@@ -72,7 +72,7 @@ services:
|
||||
- JSON_RPC_LOGS_CAP=10000
|
||||
- MIN_GAS=5000000000000basecro
|
||||
- MONIKER=d${DOMAIN:-local}
|
||||
- P2P_PORT=10521
|
||||
- P2P_PORT=11552
|
||||
- PRUNING=custom
|
||||
- PRUNING_INTERVAL=19
|
||||
- PRUNING_KEEP_RECENT=100
|
||||
|
||||
@@ -50,8 +50,8 @@ services:
|
||||
nofile: 1048576 # Max open files (for RPC/WS connections)
|
||||
user: root
|
||||
ports:
|
||||
- 10521:10521
|
||||
- 10521:10521/udp
|
||||
- 14547:14547
|
||||
- 14547:14547/udp
|
||||
expose:
|
||||
- 8545
|
||||
- 8546
|
||||
@@ -72,7 +72,7 @@ services:
|
||||
- JSON_RPC_LOGS_CAP=10000
|
||||
- MIN_GAS=5000000000000basetcro
|
||||
- MONIKER=d${DOMAIN:-local}
|
||||
- P2P_PORT=10521
|
||||
- P2P_PORT=14547
|
||||
- PRUNING=custom
|
||||
- PRUNING_INTERVAL=19
|
||||
- PRUNING_KEEP_RECENT=100
|
||||
|
||||
Reference in New Issue
Block a user