2020-11-24 12:37:00 +00:00
|
|
|
---
|
2023-06-26 10:54:54 +00:00
|
|
|
# Volumes
|
|
|
|
bootstrap__extra_volume_bind_paths:
|
|
|
|
DATA_VOLUME1: ['/data', '/docker']
|
|
|
|
|
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
|
2023-05-24 14:24:13 +00:00
|
|
|
geth_consul_advertised_address: '{{ hostname }}.wg'
|
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' }
|
2023-03-18 17:02:58 +00:00
|
|
|
- { port: '{{ smart_metrics_listen_port }}', ipset: 'metrics.hq', comment: 'SMART Metrics' }
|
2022-09-07 11:27:18 +00:00
|
|
|
|
|
|
|
nodes_layout:
|
|
|
|
# For AWS Prater nodes.
|
2023-05-24 14:24:13 +00:00
|
|
|
'goerli-01.he-eu-hel1.nimbus.geth': [{}, {}]
|
2023-06-23 19:13:57 +00:00
|
|
|
'goerli-01.ih-eu-mda1.nimbus.geth': [{}, {}]
|
2022-09-07 11:27:18 +00:00
|
|
|
|
|
|
|
# For MacOS Prater nodes.
|
2023-05-24 14:24:13 +00:00
|
|
|
'goerli-02.he-eu-hel1.nimbus.geth': [{}, {}]
|
2023-06-23 19:13:57 +00:00
|
|
|
'goerli-02.ih-eu-mda1.nimbus.geth': [{}, {}]
|
2022-09-07 11:27:18 +00:00
|
|
|
|
|
|
|
# For Windows prater nodes.
|
2023-05-24 14:24:13 +00:00
|
|
|
'goerli-03.he-eu-hel1.nimbus.geth': [{}, {}]
|
2023-06-23 19:13:57 +00:00
|
|
|
'goerli-03.ih-eu-mda1.nimbus.geth': [{}, {}]
|