From f243d88a8177d7ccf40109ba4cfe0a45c0f539fa Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Fri, 11 Aug 2023 14:44:30 -0500 Subject: [PATCH] Update README --- app/data/stacks/mainnet-eth/README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/app/data/stacks/mainnet-eth/README.md b/app/data/stacks/mainnet-eth/README.md index 8299ce54..9fc0d86a 100644 --- a/app/data/stacks/mainnet-eth/README.md +++ b/app/data/stacks/mainnet-eth/README.md @@ -70,12 +70,35 @@ To permanently *delete* the stack's data volumes run: $ 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 +You will likely wish to expose certain container ports through 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`: +``` +$ cat mainnet-eth-spec.yml +stack: mainnet-eth +ports: + mainnet-eth-geth-1: + - '10.10.10.10:8545:8545' + mainnet-eth-lighthouse-1: + - '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 + mainnet_eth_lighthouse_1_data: ./data/mainnet_eth_lighthouse_1_data +``` + ## Data volumes Container data volumes are bind-mounted to specified paths in the host filesystem. The default setup (generated by `laconic-so deploy init`) places the volumes in the `./data` subdirectory of the deployment directory: ``` $ cat mainnet-eth-spec.yml stack: mainnet-eth +ports: + mainnet-eth-geth-1: + - '10.10.10.10:8545:8545' + mainnet-eth-lighthouse-1: + - '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