2020-11-24 12:37:00 +00:00
|
|
|
---
|
2021-08-11 17:54:36 +00:00
|
|
|
# This node is used as replacement for Infura for end-to-end tests. Syncing can use a lot of mamory
|
2020-11-24 12:37:00 +00:00
|
|
|
swap_file_size_mb: 4096
|
|
|
|
|
|
|
|
# Geth node
|
2021-03-29 11:27:00 +00:00
|
|
|
geth_service_name: 'nimbus-goerli'
|
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
|
2020-11-24 14:43:10 +00:00
|
|
|
geth_websocket_enabled: true
|
2020-11-24 12:37:00 +00:00
|
|
|
# Geth auth
|
2021-08-13 20:05:12 +00:00
|
|
|
geth_account_pass: '{{lookup("bitwarden", "nimbus/geth", field="password")}}'
|
2021-05-19 12:11:45 +00:00
|
|
|
# Allow connections from our VPN
|
2020-12-04 17:04:04 +00:00
|
|
|
geth_websocket_origins: '*'
|
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 }}'
|
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'
|
2020-11-24 12:37:00 +00:00
|
|
|
|
|
|
|
# Ports
|
|
|
|
geth_port: 30303
|
|
|
|
geth_rpc_port: 8545
|
2020-11-24 14:43:10 +00:00
|
|
|
geth_websocket_port: 8546
|
2020-11-24 12:37:00 +00:00
|
|
|
geth_expo_cont_port: 9200
|
2021-08-11 17:54:36 +00:00
|
|
|
|
|
|
|
# Open Ports
|
|
|
|
open_ports_default_comment: 'Geth Metrics'
|
|
|
|
open_ports_default_chain: 'VPN'
|
|
|
|
open_ports_list:
|
|
|
|
- { port: '{{ geth_expo_cont_port }}', ipset: 'metrics.hq' }
|
2021-08-19 13:32:59 +00:00
|
|
|
- { port: '{{ geth_websocket_port }}', ipset: 'nimbus.pyrmont' }
|
|
|
|
- { port: '{{ geth_websocket_port }}', ipset: 'nimbus.prater' }
|