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:
Chuseuiti 2019-02-26 09:57:38 +01:00 committed by Troy McConaghy
parent 7781f5aae8
commit 6bed80cff3
1 changed files with 3 additions and 0 deletions

View File

@ -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: