bind RPC port to localhost from container

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-03-23 19:26:02 +01:00
parent eadc21641f
commit 2923405a9d
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 3 additions and 2 deletions

View File

@ -16,8 +16,8 @@ beacon_node_public_address: '{{ ansible_host }}'
# metrics
beacon_node_metrics_port: 9200
# rpc
beacon_node_rpc_port: 9300
# rpc / administrative
beacon_node_rpc_port: 9900
# general container management
compose_state: 'present'

View File

@ -16,6 +16,7 @@
image: '{{ beacon_node_cont_image }}'
restart: 'always'
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_listening_port }}:{{ beacon_node_listening_port }}/tcp'
- '{{ beacon_node_discovery_port }}:{{ beacon_node_discovery_port }}/udp'