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

53 lines
1.8 KiB
YAML

---
# 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'
# connectivity settings
beacon_node_discovery_port: 9000
beacon_node_listening_port: 9000
beacon_node_public_address: '{{ ansible_host }}'
beacon_node_max_peers: 160
# metrics
beacon_node_metrics_port: 9200
# rpc / administrative
beacon_node_rpc_port: 9900
# resource limits, mem in MB
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