Enable the RPC service; Handle CLI option name chnages

This commit is contained in:
Zahary Karadjov 2020-03-23 18:55:20 +02:00
parent d8efd26e17
commit eadc21641f
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
2 changed files with 9 additions and 3 deletions

View File

@ -16,6 +16,9 @@ beacon_node_public_address: '{{ ansible_host }}'
# metrics # metrics
beacon_node_metrics_port: 9200 beacon_node_metrics_port: 9200
# rpc
beacon_node_rpc_port: 9300
# general container management # general container management
compose_state: 'present' compose_state: 'present'
compose_recreate: 'smart' compose_recreate: 'smart'

View File

@ -24,9 +24,12 @@
- '--log-level={{ beacon_node_log_level }}' - '--log-level={{ beacon_node_log_level }}'
- '--tcp-port={{ beacon_node_listening_port }}' - '--tcp-port={{ beacon_node_listening_port }}'
- '--udp-port={{ beacon_node_discovery_port }}' - '--udp-port={{ beacon_node_discovery_port }}'
- '--metrics-server=on' - '--rpc'
- '--metrics-server-address=0.0.0.0' - '--rpc-address=0.0.0.0'
- '--metrics-server-port={{ beacon_node_metrics_port }}' - '--rpc-port={{ beacon_node_rpc_port }}'
- '--metrics'
- '--metrics-address=0.0.0.0'
- '--metrics-port={{ beacon_node_metrics_port }}'
volumes: volumes:
- '{{ beacon_node_cont_vol }}/data:/root/.cache/nimbus' - '{{ beacon_node_cont_vol }}/data:/root/.cache/nimbus'