Tweak README

This commit is contained in:
Thomas E Lackey 2023-08-11 14:55:52 -05:00
parent a6c1f5ba2e
commit 218e962cfe

View File

@ -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. After deleting the volumes, any subsequent re-start will begin chain sync from cold.
## Ports ## 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 It is usually necessary to expose certain container ports on one or more the host's addresses to allow incoming connections.
are exposed by default, but the values can be customized for this deployment by editing the "spec" file generated by `laconic-so deploy init`: 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 $ cat mainnet-eth-spec.yml
stack: mainnet-eth stack: mainnet-eth
ports: ports:
mainnet-eth-geth-1: mainnet-eth-geth-1:
- '127.0.0.1:8545:8545'
- '10.10.10.10:8545:8545' - '10.10.10.10:8545:8545'
- '40000'
mainnet-eth-lighthouse-1: mainnet-eth-lighthouse-1:
- '5052' - '10.10.10.10:5052:5052'
volumes: volumes:
mainnet_eth_config_data: ./data/mainnet_eth_config_data mainnet_eth_config_data: ./data/mainnet_eth_config_data
mainnet_eth_geth_1_data: ./data/mainnet_eth_geth_1_data mainnet_eth_geth_1_data: ./data/mainnet_eth_geth_1_data
@ -97,10 +101,10 @@ $ cat mainnet-eth-spec.yml
stack: mainnet-eth stack: mainnet-eth
ports: ports:
mainnet-eth-geth-1: mainnet-eth-geth-1:
- '127.0.0.1:8545:8545'
- '10.10.10.10:8545:8545' - '10.10.10.10:8545:8545'
- '40000'
mainnet-eth-lighthouse-1: mainnet-eth-lighthouse-1:
- '5052' - '10.10.10.10:5052:5052'
volumes: volumes:
mainnet_eth_config_data: ./data/mainnet_eth_config_data mainnet_eth_config_data: ./data/mainnet_eth_config_data
mainnet_eth_geth_1_data: ./data/mainnet_eth_geth_1_data mainnet_eth_geth_1_data: ./data/mainnet_eth_geth_1_data