infra-role-beacon-node/defaults/main.yml

73 lines
2.6 KiB
YAML
Raw Normal View History

2019-02-13 22:45:53 +00:00
---
# shared testnet name: medalla, toledo, pyrmont, etc.
beacon_node_network: 'medalla'
beacon_node_log_level: INFO
beacon_node_data_folder: 'shared_{{ beacon_node_network }}_0'
beacon_node_subscribe_all: false
beacon_node_doppelganger_detection: true
# For validation
beacon_node_valid_network_names: ["toledo", "pyrmont", "prater", "mainnet", "steklo", "nocturne"]
beacon_node_cont_tag: 'devel'
beacon_node_cont_image: 'statusteam/nimbus_beacon_node:{{ beacon_node_cont_tag }}'
beacon_node_cont_name: 'beacon-node-{{ beacon_node_network }}'
beacon_node_cont_vol: '/docker/{{ beacon_node_cont_name }}'
beacon_node_cont_update_enabled: true
# Subfolders for separate read-only mounting
beacon_node_secrets_path: '{{ beacon_node_cont_vol }}/data/{{ beacon_node_data_folder }}/secrets'
# Automatically distribute validators
beacon_node_dist_validators_enabled: false
beacon_node_dist_validators_name: '{{ beacon_node_network }}_deposits'
beacon_node_dist_validators_data_path: '{{ beacon_node_cont_vol }}/data/{{ beacon_node_data_folder }}'
#beacon_node_dist_validators_name: ~
#beacon_node_dist_validators_start: ~
#beacon_node_dist_validators_end: ~
2021-09-20 11:20:12 +00:00
# Connectivity settings
2019-03-28 19:01:05 +00:00
beacon_node_discovery_port: 9000
beacon_node_listening_port: 9000
beacon_node_public_address: '{{ ansible_host }}'
beacon_node_max_peers: 160
2021-09-20 11:20:12 +00:00
# Number of hardware threads to use
beacon_node_threads: 1
# Scraping of metrics done via VPN. Protected by firewall.
beacon_node_metrics_enabled: true
beacon_node_metrics_address: '0.0.0.0'
beacon_node_metrics_port: 9200
2021-09-20 11:20:12 +00:00
# The JSON-RPC service is disabled because this is a legacy
# functionality that will be removed from Nimbus eventually
beacon_node_rpc_enabled: false
beacon_node_rpc_address: '127.0.0.1'
beacon_node_rpc_port: 9900
2021-09-20 11:20:12 +00:00
beacon_node_rest_enabled: true
beacon_node_rest_address: '127.0.0.1'
beacon_node_rest_port: 5052
# resource limits, mem in MB
2020-08-19 16:10:39 +00:00
beacon_node_mem_limit: '{{ (ansible_memtotal_mb * 0.5) | int }}'
beacon_node_mem_reserve: '{{ (ansible_memtotal_mb * 0.4) | int }}'
# Consul service definition settings
beacon_node_consul_service_name: 'beacon-node'
beacon_node_consul_service_file_name: '{{ beacon_node_consul_service_name | replace("-", "_") }}'
beacon_node_consul_metrics_service_name: '{{ beacon_node_consul_service_name }}-metrics'
# WebSocket RPC URLs, Goerli for testnets
beacon_node_web3_urls: ['wss://goerli.infura.io/ws/v3/6224f3c792cc443fafb64e70a98f871e']
beacon_node_slashing_db_kind: 'v2'
# Netkey file contents, optional.
#beacon_node_netkey: '{"key":"json"}'
beacon_node_netkey_cont_path: 'data/netkey'
# general container management
compose_recreate: false