2020-11-24 12:37:00 +00: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 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
|
|
|
|
geth_account_pass: '{{lookup("passwordstore", "service/Nimbus-Geth/password")}}'
|
2020-12-04 17:04:04 +00:00
|
|
|
# Allow connections from our Tinc VPN
|
|
|
|
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
|