nimbus.mainnet: deploy one Geth node on metal hosts
https://github.com/status-im/infra-nimbus/issues/127 Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
21926f4cf7
commit
b4066e7386
|
@ -6,6 +6,31 @@ bootstrap__extra_volume_bind_path: null
|
|||
# SWAP
|
||||
swap_file_size_mb: 2048
|
||||
|
||||
# Go-Ethereum
|
||||
geth_service_name: 'geth-{{ geth_network_name }}'
|
||||
geth_service_path: '/docker/{{ geth_service_name }}'
|
||||
geth_network_name: 'mainnet'
|
||||
geth_cont_name: '{{ geth_service_name }}-node'
|
||||
geth_cont_vol: '{{ geth_service_path }}/node'
|
||||
geth_sync_mode: 'snap'
|
||||
geth_log_level_name: 'info'
|
||||
geth_account_pass: '{{lookup("bitwarden", "nimbus/geth", field="password")}}'
|
||||
geth_authrpc_jwtsecret: '{{lookup("bitwarden", "nimbus/jwt-token")}}'
|
||||
# Memory settings¬
|
||||
geth_cont_mem_ratio: 0.15
|
||||
geth_cache_size: '{{ (ansible_memtotal_mb * 0.05|float) | int }}'
|
||||
# Ports
|
||||
geth_port: 30303
|
||||
geth_rpc_addr: '0.0.0.0'
|
||||
geth_rpc_port: 8545
|
||||
geth_authrpc_addr: '127.0.0.1'
|
||||
geth_authrpc_port: 8551
|
||||
# Geth metrics¬
|
||||
geth_expo_service_name: '{{ geth_service_name }}'
|
||||
geth_expo_source_cont_name: '{{ geth_cont_name }}'
|
||||
geth_expo_source_data_path: '{{ geth_cont_vol }}/data'
|
||||
geth_expo_cont_port: 9400
|
||||
|
||||
# Nimbus Beacon Node
|
||||
beacon_node_network: 'mainnet'
|
||||
# TODO This is to avoid too long service names.
|
||||
|
|
|
@ -34,6 +34,8 @@
|
|||
hosts: nimbus-mainnet-metal
|
||||
roles:
|
||||
- { role: redirect-ports, tags: [ redirect-ports ] }
|
||||
- { role: infra-role-geth, tags: [ infra-role-geth ] }
|
||||
- { role: infra-role-geth-exporter, tags: [ infra-role-geth-exporter ] }
|
||||
- { role: get-geth-api-urls, tags: [ get-geth-api-urls ] }
|
||||
- { role: nimbus-era-files, tags: [ nimbus-era-file ] }
|
||||
tasks:
|
||||
|
|
Loading…
Reference in New Issue