default WebSocket port to using localhost address
It's equally as sensitive as the JSON RPC API endpoint. Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
bb265a41b6
commit
87b6be842f
|
@ -45,6 +45,7 @@ geth_rpc_vhosts:
|
|||
geth_rpc_wrapper: '{{ geth_service_path }}/rpc.sh'
|
||||
# Web Sockets API
|
||||
geth_websocket_enabled: true
|
||||
geth_websocket_addr: '127.0.0.1'
|
||||
geth_websocket_port: '{{ geth_rpc_port + 1 | int }}'
|
||||
geth_websocket_api: 'eth,net,web3,personal,admin'
|
||||
geth_websocket_origins: 'localhost'
|
||||
|
|
|
@ -14,8 +14,8 @@ services:
|
|||
- '{{ geth_port }}:{{ geth_port }}/tcp'
|
||||
- '{{ geth_port }}:{{ geth_port }}/udp'
|
||||
- '{{ geth_metrics_port }}:{{ geth_metrics_port }}/tcp'
|
||||
- '{{ geth_websocket_port }}:{{ geth_websocket_port }}/tcp'
|
||||
- '{{ geth_rpc_addr }}:{{ geth_rpc_port }}:{{ geth_rpc_port }}'
|
||||
- '{{ geth_websocket_addr }}:{{ geth_websocket_port }}:{{ geth_websocket_port }}/tcp'
|
||||
- '{{ geth_rpc_addr }}:{{ geth_rpc_port }}:{{ geth_rpc_port }}/tcp'
|
||||
labels:
|
||||
# These are just for documentation
|
||||
org.ethereum.geth.network_name: '{{ geth_network_name }}'
|
||||
|
|
Loading…
Reference in New Issue