infra-nimbus/ansible/group_vars/nimbus-geth-mainnet.yml

46 lines
1.6 KiB
YAML
Raw Normal View History

---
# This will be is used instead of Infura for Eth2 Mainnet Nimbus nodes.
# Syncing can use a lot of mamory
swap_file_size_mb: 4096
# Geth node
geth_service_name: 'nimbus-mainnet'
geth_network_name: 'mainnet'
geth_sync_mode: 'snap'
geth_log_level_name: info
geth_websocket_enabled: true
# Geth auth & JWT token
geth_account_pass: '{{lookup("bitwarden", "nimbus/geth", field="password")}}'
geth_authrpc_jwtsecret: '{{lookup("bitwarden", "nimbus/jwt-token")}}'
# Memory settings
geth_cont_mem_ratio: 0.7
# Geth metrics
geth_expo_service_name: '{{ geth_service_name }}'
geth_expo_source_cont_name: '{{ geth_cont_name }}'
geth_expo_source_data_path: '{{ geth_cont_vol }}/data'
# Ports
geth_port: 30303
geth_rpc_addr: '0.0.0.0'
geth_rpc_port: 8545
geth_authrpc_addr: '0.0.0.0'
geth_authrpc_port: 8551
geth_websocket_addr: '0.0.0.0'
geth_websocket_port: 8546
geth_expo_cont_port: 9200
# Open Ports
open_ports_default_comment: 'Geth API'
open_ports_default_chain: 'VPN'
open_ports_list:
- { port: '{{ geth_expo_cont_port }}', ipset: 'metrics.hq', comment: 'Geth Metrics' }
- { port: '{{ smart_metrics_listen_port }}', ipset: 'metrics.hq', comment: 'SMART Metrics' }
- { port: '{{ geth_rpc_port }}', ipset: 'nimbus.mainnet' }
- { port: '{{ geth_rpc_port }}', ipset: 'eth2.prod' }
- { port: '{{ geth_authrpc_port }}', ipset: 'nimbus.mainnet' }
- { port: '{{ geth_authrpc_port }}', ipset: 'eth2.prod' }
- { port: '{{ geth_websocket_port }}', ipset: 'nimbus.mainnet' }
- { port: '{{ geth_websocket_port }}', ipset: 'eth2.prod' }