docker: increase stop_grace_period to 1 minute
Geth data can be corrupted when Docker sends SIGKILL after 10s. Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
4583821179
commit
5504373808
|
@ -18,6 +18,7 @@ geth_cont_tag: 'v1.10.25'
|
|||
geth_cont_image: 'ethereum/client-go:{{ geth_cont_tag }}'
|
||||
geth_cont_name: '{{ geth_service_name }}-node'
|
||||
geth_cont_vol: '{{ geth_service_path }}/node'
|
||||
geth_cont_stop_grace_period: '1m'
|
||||
|
||||
geth_enode_file: '{{ geth_cont_vol }}/keys/enode'
|
||||
geth_sync_check_script: '/usr/local/bin/check_sync_{{ geth_cont_name | replace("-", "_") }}.sh'
|
||||
|
|
|
@ -6,6 +6,7 @@ services:
|
|||
image: '{{ geth_cont_image }}'
|
||||
user: root
|
||||
restart: 'always'
|
||||
stop_grace_period: '{{ geth_cont_stop_grace_period }}'
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
|
|
Loading…
Reference in New Issue