restart only on geth failure
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
0804df48b4
commit
37c19cc51a
|
@ -24,6 +24,9 @@ geth_cache: '{{ (ansible_memtotal_mb * mem_cache_ratio|float) | int }}'
|
||||||
# has to be higher than mem_cache_ratio
|
# has to be higher than mem_cache_ratio
|
||||||
cont_mem_ratio: 0.2
|
cont_mem_ratio: 0.2
|
||||||
|
|
||||||
|
# don't auto-restart contianer on out-of-memory error
|
||||||
|
cont_restart_policy: on-failure
|
||||||
|
|
||||||
# credentials for the wallet
|
# credentials for the wallet
|
||||||
geth_account_pass: '{{lookup("passwordstore", "services/faucet/account-pass")}}'
|
geth_account_pass: '{{lookup("passwordstore", "services/faucet/account-pass")}}'
|
||||||
geth_account_addr: '{{lookup("passwordstore", "services/faucet/account-addr")}}'
|
geth_account_addr: '{{lookup("passwordstore", "services/faucet/account-addr")}}'
|
||||||
|
|
Loading…
Reference in New Issue