add support for custom bootnodes with geth_bootnodes
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
8b0dba55ea
commit
1921fcfe98
|
@ -58,6 +58,9 @@ geth_v5disc_enabled: true
|
||||||
geth_trusted_peers: []
|
geth_trusted_peers: []
|
||||||
geth_trusted_peers_file: '{{ geth_data_path }}/trusted-nodes.json'
|
geth_trusted_peers_file: '{{ geth_data_path }}/trusted-nodes.json'
|
||||||
|
|
||||||
|
# Custom bootnodes
|
||||||
|
geth_bootnodes: []
|
||||||
|
|
||||||
# Enable metrics
|
# Enable metrics
|
||||||
geth_metrics_enabled: true
|
geth_metrics_enabled: true
|
||||||
|
|
||||||
|
|
|
@ -73,6 +73,9 @@
|
||||||
--ws.api={{ geth_websocket_api }}
|
--ws.api={{ geth_websocket_api }}
|
||||||
--ws.origins='{{ geth_websocket_origins }}'
|
--ws.origins='{{ geth_websocket_origins }}'
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if (geth_bootnodes|length) > 0 %}
|
||||||
|
--bootnodes="{{ geth_bootnodes | join(',') }}"
|
||||||
|
{% endif %}
|
||||||
volumes:
|
volumes:
|
||||||
- '{{ geth_cont_vol }}/keys:/keys:rw'
|
- '{{ geth_cont_vol }}/keys:/keys:rw'
|
||||||
# WARNING: This assumes /data is mounted, see bootstrap role
|
# WARNING: This assumes /data is mounted, see bootstrap role
|
||||||
|
|
Loading…
Reference in New Issue