forked from TrueCloudLab/frostfs-dev-env
Restart IR and Storage on failures
Removing useless container health checks and just making IR and Storage nodes to restart on failure. NeoFS daemons should do all they can to survive. Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
This commit is contained in:
parent
7d8fbc7754
commit
a4cb92016f
4 changed files with 12 additions and 25 deletions
|
@ -11,11 +11,6 @@ services:
|
|||
chain_int:
|
||||
internet:
|
||||
ipv4_address: ${IPV4_PREFIX}.90
|
||||
healthcheck:
|
||||
interval: 5s
|
||||
retries: 15
|
||||
test: ['CMD', 'sh', '-c', 'echo | nc 127.0.0.1 30333']
|
||||
timeout: 10s
|
||||
stop_signal: SIGKILL
|
||||
environment:
|
||||
- ACC=/morph_chain.gz
|
||||
|
@ -25,13 +20,6 @@ services:
|
|||
- ./node-wallet.json:/wallets/node-wallet.json
|
||||
- ./../../vendor/hosts:/etc/hosts
|
||||
|
||||
neofs_morph_chain-healthy:
|
||||
image: alpine
|
||||
container_name: neofs_morph_chain-healthy
|
||||
depends_on:
|
||||
neofs_morph_chain:
|
||||
condition: service_healthy
|
||||
|
||||
networks:
|
||||
chain_int:
|
||||
internet:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue