2020-11-24 13:37:00 +01:00
|
|
|
---
|
|
|
|
# This node is used as replacement for Infura for end-to-end tests.
|
|
|
|
|
|
|
|
# Syncing can use a lot of mamory
|
|
|
|
swap_file_size_mb: 4096
|
|
|
|
|
|
|
|
# Geth node
|
2021-03-29 13:27:00 +02:00
|
|
|
geth_service_name: 'nimbus-goerli'
|
2020-11-24 17:18:21 +01:00
|
|
|
geth_network_name: 'goerli'
|
|
|
|
geth_sync_mode: 'full'
|
2020-11-24 13:37:00 +01:00
|
|
|
geth_log_level_name: info
|
2020-11-24 15:43:10 +01:00
|
|
|
geth_websocket_enabled: true
|
2020-11-24 13:37:00 +01:00
|
|
|
# Geth auth
|
|
|
|
geth_account_pass: '{{lookup("passwordstore", "service/Nimbus-Geth/password")}}'
|
2020-12-04 18:04:04 +01:00
|
|
|
# Allow connections from our Tinc VPN
|
|
|
|
geth_websocket_origins: '*'
|
2020-11-24 13:37:00 +01:00
|
|
|
# Memory settings
|
2021-03-30 18:52:39 +02:00
|
|
|
geth_cont_mem_ratio: 0.8
|
2021-02-12 23:06:04 +01:00
|
|
|
geth_cache_size: '{{ (ansible_memtotal_mb * 0.25|float) | int }}'
|
2020-11-24 13:37:00 +01:00
|
|
|
|
|
|
|
# Geth metrics
|
2021-03-29 13:27:00 +02: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 13:37:00 +01:00
|
|
|
|
|
|
|
# Ports
|
|
|
|
geth_port: 30303
|
|
|
|
geth_rpc_port: 8545
|
2020-11-24 15:43:10 +01:00
|
|
|
geth_websocket_port: 8546
|
2020-11-24 13:37:00 +01:00
|
|
|
geth_expo_cont_port: 9200
|