add support for geth_extra_flags list

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-04-29 12:45:44 +02:00
parent 682b6ffeb3
commit 8d2eeb8961
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 5 additions and 0 deletions

View File

@ -61,6 +61,8 @@ geth_v5disc_enabled: true
# List of trusted peers to connect to # List of trusted peers to connect to
geth_trusted_peers: [] geth_trusted_peers: []
geth_trusted_peers_file: '{{ geth_cont_vol }}/data/trusted-nodes.json' geth_trusted_peers_file: '{{ geth_cont_vol }}/data/trusted-nodes.json'
# Any additional flags you want to provide
geth_extra_flags: []
# Custom bootnodes # Custom bootnodes
geth_bootnodes: [] geth_bootnodes: []

View File

@ -82,3 +82,6 @@ services:
--datadir=/data --datadir=/data
--password=/keys/account.pass --password=/keys/account.pass
--keystore=/keys --keystore=/keys
{% for extra_flag in geth_extra_flags %}
{{ extra_flag }}
{% endfor %}