From 218e962cfe7740249983dd2c375e47d0af0a76ba Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Fri, 11 Aug 2023 14:55:52 -0500 Subject: [PATCH] Tweak README --- app/data/stacks/mainnet-eth/README.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/app/data/stacks/mainnet-eth/README.md b/app/data/stacks/mainnet-eth/README.md index 65011d76..23c8d325 100644 --- a/app/data/stacks/mainnet-eth/README.md +++ b/app/data/stacks/mainnet-eth/README.md @@ -72,17 +72,21 @@ $ laconic-so deployment --dir mainnet-eth-deployment stop --delete-data-volumes After deleting the volumes, any subsequent re-start will begin chain sync from cold. ## Ports -For sync to function, it is usually necessary to expose certain container ports on the host. Whatever ports are defined in the Docker compose file -are exposed by default, but the values can be customized for this deployment by editing the "spec" file generated by `laconic-so deploy init`: +It is usually necessary to expose certain container ports on one or more the host's addresses to allow incoming connections. +Any ports defined in the Docker compose file are exposed by default with random port assignments, but the values can be +customized by editing the "spec" file generated by `laconic-so deploy init`. + +In this example, ports `8545` and `5052` have been assigned to a specific addresses/port combination on the host, while +port `40000` has been left with random assignment: ``` $ cat mainnet-eth-spec.yml stack: mainnet-eth ports: mainnet-eth-geth-1: - - '127.0.0.1:8545:8545' - '10.10.10.10:8545:8545' + - '40000' mainnet-eth-lighthouse-1: - - '5052' + - '10.10.10.10:5052:5052' volumes: mainnet_eth_config_data: ./data/mainnet_eth_config_data mainnet_eth_geth_1_data: ./data/mainnet_eth_geth_1_data @@ -97,10 +101,10 @@ $ cat mainnet-eth-spec.yml stack: mainnet-eth ports: mainnet-eth-geth-1: - - '127.0.0.1:8545:8545' - '10.10.10.10:8545:8545' + - '40000' mainnet-eth-lighthouse-1: - - '5052' + - '10.10.10.10:5052:5052' volumes: mainnet_eth_config_data: ./data/mainnet_eth_config_data mainnet_eth_geth_1_data: ./data/mainnet_eth_geth_1_data