2020-11-24 15:14:15 +00:00
|
|
|
---
|
2021-03-29 11:27:00 +00:00
|
|
|
# This will be is used instead of Infura for Eth2 Mainnet Nimbus nodes.
|
2020-11-24 15:14:15 +00:00
|
|
|
|
|
|
|
# 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-mainnet'
|
2020-11-24 15:14:15 +00:00
|
|
|
geth_network_name: 'mainnet'
|
2021-12-18 17:06:59 +00:00
|
|
|
geth_sync_mode: 'snap'
|
2020-11-24 15:14:15 +00:00
|
|
|
geth_log_level_name: info
|
|
|
|
geth_websocket_enabled: true
|
2022-08-11 09:47:12 +00:00
|
|
|
# Geth auth & JWT token
|
2024-11-04 07:45:14 +00:00
|
|
|
geth_account_pass: '{{lookup("vault", "geth", field="password", stage="all")}}'
|
|
|
|
geth_authrpc_jwtsecret: '{{lookup("vault", "engine-api", field="jwt-token", stage="all")}}'
|
2020-11-24 15:14:15 +00:00
|
|
|
# Memory settings
|
|
|
|
geth_cont_mem_ratio: 0.7
|
|
|
|
|
|
|
|
# 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 15:14:15 +00:00
|
|
|
|
|
|
|
# Ports
|
|
|
|
geth_port: 30303
|
2021-08-25 13:26:42 +00:00
|
|
|
geth_rpc_addr: '0.0.0.0'
|
2020-11-24 15:14:15 +00:00
|
|
|
geth_rpc_port: 8545
|
2022-08-11 09:47:12 +00:00
|
|
|
geth_authrpc_addr: '0.0.0.0'
|
|
|
|
geth_authrpc_port: 8551
|
2021-08-25 13:26:42 +00:00
|
|
|
geth_websocket_addr: '0.0.0.0'
|
2020-11-24 15:14:15 +00:00
|
|
|
geth_websocket_port: 8546
|
|
|
|
geth_expo_cont_port: 9200
|
2024-11-08 09:59:21 +00:00
|
|
|
geth_metrics_port: 6060
|
2021-08-11 17:54:36 +00:00
|
|
|
|
2024-10-10 08:53:01 +00:00
|
|
|
# Migrated to NFTables from IPTables.
|
|
|
|
# https://github.com/status-im/infra-misc/issues/301
|
|
|
|
bootstrap__firewall_nftables: true
|
|
|
|
|
2021-08-11 17:54:36 +00:00
|
|
|
# Open Ports
|
|
|
|
open_ports_list:
|
2024-10-10 08:53:01 +00:00
|
|
|
geth-node:
|
|
|
|
- { port: '{{ geth_port }}', comment: 'Geth LibP2P', protocol: 'tcp' }
|
|
|
|
- { port: '{{ geth_port }}', comment: 'Geth Discovery', protocol: 'udp' }
|
2024-11-08 09:59:21 +00:00
|
|
|
- { port: '{{ geth_metrics_port }}', comment: 'Geth Metrics', ipset: 'hq.metrics', iifname: 'wg0' }
|
2024-10-18 08:18:39 +00:00
|
|
|
- { port: '{{ geth_expo_cont_port }}', comment: 'Geth Exporter', ipset: 'hq.metrics', iifname: 'wg0' }
|
2024-10-10 08:53:01 +00:00
|
|
|
- { port: '{{ geth_rpc_port }}', comment: 'Geth RPC', ipset: 'nimbus.mainnet', iifname: 'wg0' }
|
|
|
|
- { port: '{{ geth_authrpc_port }}', comment: 'Geth API', ipset: 'nimbus.mainnet', iifname: 'wg0' }
|
|
|
|
- { port: '{{ geth_websocket_port }}', comment: 'Geth Websocket', ipset: 'nimbus.mainnet', iifname: 'wg0' }
|
|
|
|
smart-metrics:
|
2024-10-18 08:18:39 +00:00
|
|
|
- { port: '{{ smart_metrics_listen_port }}', comment: 'SMART Metrics', ipset: 'hq.metrics', iifname: 'wg0' }
|
2024-10-10 08:53:01 +00:00
|
|
|
|