2020-11-24 12:37:00 +00:00
|
|
|
---
|
|
|
|
# Geth node
|
2022-09-07 11:27:18 +00:00
|
|
|
geth_service_name: 'geth-goerli-{{ "%02d"|format(idx|int+1) }}'
|
|
|
|
geth_service_path: '/docker/{{ geth_service_name }}'
|
|
|
|
geth_cont_name: '{{ geth_service_name }}-node'
|
|
|
|
geth_cont_vol: '{{ geth_service_path }}/node'
|
2020-11-24 16:18:21 +00:00
|
|
|
geth_network_name: 'goerli'
|
|
|
|
geth_sync_mode: 'full'
|
2020-11-24 12:37:00 +00:00
|
|
|
geth_log_level_name: info
|
2022-08-11 09:47:12 +00:00
|
|
|
# Geth auth & JWT token
|
2021-08-13 20:05:12 +00:00
|
|
|
geth_account_pass: '{{lookup("bitwarden", "nimbus/geth", field="password")}}'
|
2022-08-11 09:47:12 +00:00
|
|
|
geth_authrpc_jwtsecret: '{{lookup("bitwarden", "nimbus/jwt-token")}}'
|
2020-11-24 12:37:00 +00:00
|
|
|
# Memory settings
|
2021-03-30 16:52:39 +00:00
|
|
|
geth_cont_mem_ratio: 0.8
|
2021-02-12 22:06:04 +00:00
|
|
|
geth_cache_size: '{{ (ansible_memtotal_mb * 0.25|float) | int }}'
|
2022-09-07 11:27:18 +00:00
|
|
|
# Ports
|
|
|
|
geth_port: '{{ 30303 + (idx|int) + 1 }}'
|
|
|
|
geth_rpc_port: '{{ 8545 + (idx|int) + 1 }}'
|
|
|
|
geth_metrics_port: '{{ 6060 + (idx|int) + 1 }}'
|
|
|
|
geth_websocket_port: '{{ 9546 + (idx|int) + 1 }}'
|
|
|
|
geth_authrpc_port: '{{ 8551 + (idx|int) + 1 }}'
|
|
|
|
geth_authrpc_addr: '0.0.0.0'
|
2020-11-24 12:37:00 +00:00
|
|
|
|
|
|
|
# Geth metrics
|
2021-03-29 11:27:00 +00:00
|
|
|
geth_expo_service_name: '{{ geth_service_name }}'
|
|
|
|
geth_expo_source_cont_name: '{{ geth_cont_name }}'
|
|
|
|
geth_expo_source_data_path: '{{ geth_cont_vol }}/data'
|
2022-09-07 11:27:18 +00:00
|
|
|
geth_expo_cont_port: '{{ 9400 + (idx|int) + 1 }}'
|
2021-08-11 17:54:36 +00:00
|
|
|
|
|
|
|
# Open Ports
|
2021-08-25 13:08:30 +00:00
|
|
|
open_ports_default_comment: 'Geth API'
|
2021-08-11 17:54:36 +00:00
|
|
|
open_ports_default_chain: 'VPN'
|
|
|
|
open_ports_list:
|
2022-09-07 11:27:18 +00:00
|
|
|
- { port: '9400:9404', ipset: 'metrics.hq', comment: 'Geth Metrics' }
|
|
|
|
- { port: '8551:8554', ipset: 'nimbus.prater' }
|
|
|
|
|
|
|
|
nodes_layout:
|
|
|
|
# For AWS Prater nodes.
|
|
|
|
'goerli-01.he-eu-hel1.nimbus.geth': [{}, {}, {}]
|
|
|
|
|
|
|
|
# For MacOS Prater nodes.
|
|
|
|
'goerli-02.he-eu-hel1.nimbus.geth': [{}, {}, {}]
|
|
|
|
|
|
|
|
# For Windows prater nodes.
|
|
|
|
'goerli-03.he-eu-hel1.nimbus.geth': [{}, {}, {}]
|