infra-nimbus/ansible/group_vars/nimbus.ropsten.yml

68 lines
2.4 KiB
YAML
Raw Normal View History

---
# Go-Ethereum
geth_service_name: 'nimbus-ropsten-{{ "%02d"|format(idx|int+1) }}'
geth_network_name: 'ropsten'
geth_sync_mode: 'snap'
geth_log_level_name: info
geth_websocket_enable: true
# Enable engine API¬
geth_rcp_api: 'eth,net,web3,personal,admin,engine'
geth_websocket_api: 'eth,net,web3,personal,admin,engine'
# Geth auth
geth_account_pass: '{{lookup("bitwarden", "nimbus/geth", field="password")}}'
# Allow connections from our VPN
geth_websocket_origins: '*'
# Memory settings¬
geth_cont_mem_ratio: 0.3
geth_cache_size: '{{ (ansible_memtotal_mb * 0.25|float) | int }}'
# 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 + idx|int + 11 }}'
geth_metrics_port: '{{ 6060 + idx|int + 11 }}'
geth_rpc_enabled: true
geth_rpc_addr: '0.0.0.0'
geth_rpc_port: '{{ 8545 + idx|int + 11 }}'
geth_websocket_enabled: true
geth_websocket_addr: '0.0.0.0'
geth_websocket_port: '{{ 9546 + idx|int + 11 }}'
# Beacon Nodes
beacon_node_service_name: 'beacon-node-{{ beacon_node_network }}-{{ beacon_node_repo_branch }}-{{ "%02d"|format(idx|int+1) }}'
beacon_node_network: 'ropsten'
beacon_node_repo_branch: 'unstable'
# Builds
beacon_node_build_frequency: 'daily'
# Monitoring
beacon_node_validator_monitor_auto: true
beacon_node_validator_monitor_totals: true
# HTTP RPC support is unstable
beacon_node_web3_urls: ['ws://localhost:{{ geth_websocket_port }}']
beacon_node_extra_flags: ['--terminal-total-difficulty-override=50000000000000000']
# Validators from nimbus-private repo
beacon_node_dist_validators_enabled: '{{ node.start is defined and node.end is defined }}'
beacon_node_dist_validators_start: '{{ node.start | mandatory }}'
beacon_node_dist_validators_end: '{{ node.end | mandatory }}'
# Ports
beacon_node_discovery_port: '{{ 9000 + idx|int + 1 }}'
beacon_node_listening_port: '{{ 9000 + idx|int + 1 }}'
beacon_node_metrics_port: '{{ 9200 + idx|int + 1 }}'
beacon_node_rest_port: '{{ 9300 + idx|int + 1 }}'
beacon_node_rest_address: '0.0.0.0'
# Additional disk drive
bootstrap__extra_volume_device_path: '/dev/nvme2n1'
bootstrap__extra_volume_path: '/docker'
bootstrap__extra_volume_bind_path: ''
nodes_layout:
'metal-01.he-eu-hel1.nimbus.ropsten':
- { start: 0, end: 2500 }
- { start: 2500, end: 5000 }
- { start: 5000, end: 7500 }
- { start: 7500, end: 10000 }