Restart on sporadic failures on BDB container#2624 (#2634)
To account for sporadic failures on bigchaindb server and container stop, it would be beneficial to include in docker-compose the ability for the containers to restart on failure or docker daemon restart. Issue #2624
This commit is contained in:
parent
7781f5aae8
commit
6bed80cff3
|
@ -12,6 +12,7 @@ services:
|
|||
ports:
|
||||
- "27017:27017"
|
||||
command: mongod
|
||||
restart: always
|
||||
bigchaindb:
|
||||
depends_on:
|
||||
- mongodb
|
||||
|
@ -47,6 +48,7 @@ services:
|
|||
timeout: 5s
|
||||
retries: 3
|
||||
command: '.ci/entrypoint.sh'
|
||||
restart: always
|
||||
tendermint:
|
||||
image: tendermint/tendermint:0.22.8
|
||||
# volumes:
|
||||
|
@ -56,6 +58,7 @@ services:
|
|||
- "26656:26656"
|
||||
- "26657:26657"
|
||||
command: sh -c "tendermint init && tendermint node --consensus.create_empty_blocks=false --proxy_app=tcp://bigchaindb:26658"
|
||||
restart: always
|
||||
bdb:
|
||||
image: busybox
|
||||
depends_on:
|
||||
|
|
Loading…
Reference in New Issue