bind RPC port to localhost from container
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
eadc21641f
commit
2923405a9d
|
@ -16,8 +16,8 @@ beacon_node_public_address: '{{ ansible_host }}'
|
||||||
# metrics
|
# metrics
|
||||||
beacon_node_metrics_port: 9200
|
beacon_node_metrics_port: 9200
|
||||||
|
|
||||||
# rpc
|
# rpc / administrative
|
||||||
beacon_node_rpc_port: 9300
|
beacon_node_rpc_port: 9900
|
||||||
|
|
||||||
# general container management
|
# general container management
|
||||||
compose_state: 'present'
|
compose_state: 'present'
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
image: '{{ beacon_node_cont_image }}'
|
image: '{{ beacon_node_cont_image }}'
|
||||||
restart: 'always'
|
restart: 'always'
|
||||||
ports:
|
ports:
|
||||||
|
- '127.0.0.1:{{ beacon_node_rpc_port }}:{{ beacon_node_rpc_port }}/tcp'
|
||||||
- '{{ beacon_node_metrics_port }}:{{ beacon_node_metrics_port }}/tcp'
|
- '{{ beacon_node_metrics_port }}:{{ beacon_node_metrics_port }}/tcp'
|
||||||
- '{{ beacon_node_listening_port }}:{{ beacon_node_listening_port }}/tcp'
|
- '{{ beacon_node_listening_port }}:{{ beacon_node_listening_port }}/tcp'
|
||||||
- '{{ beacon_node_discovery_port }}:{{ beacon_node_discovery_port }}/udp'
|
- '{{ beacon_node_discovery_port }}:{{ beacon_node_discovery_port }}/udp'
|
||||||
|
|
Loading…
Reference in New Issue