mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00

* Crash recovery mechanism * Propogate exception * Added docs and crash receovery during block write * Fix flake8 issue * Remove approach 1 for crash recovery, recover db on 'bigchiandb start' * Fix CI build issues * Remove documentation
35 lines
962 B
YAML
35 lines
962 B
YAML
version: '3'
|
|
|
|
services:
|
|
mdb:
|
|
image: mongo:3.4.3
|
|
command: mongod
|
|
bdb:
|
|
depends_on:
|
|
- mdb
|
|
- tendermint
|
|
build:
|
|
context: .
|
|
dockerfile: ./compose/travis/Dockerfile
|
|
args:
|
|
backend: localmongodb
|
|
volumes:
|
|
- .:/usr/src/app/
|
|
environment:
|
|
BIGCHAINDB_DATABASE_BACKEND: localmongodb
|
|
BIGCHAINDB_DATABASE_HOST: mdb
|
|
BIGCHAINDB_DATABASE_PORT: 27017
|
|
BIGCHAINDB_SERVER_BIND: 0.0.0.0:9984
|
|
BIGCHAINDB_WSSERVER_HOST: 0.0.0.0
|
|
BIGCHAINDB_START_TENDERMINT: 0
|
|
BIGCHAINDB_TENDERMINT_HOST: tendermint
|
|
BIGCHAINDB_TENDERMINT_PORT: 46657
|
|
command: bigchaindb start
|
|
tendermint:
|
|
image: tendermint/tendermint:0.13
|
|
volumes:
|
|
- ./tmdata/config.toml:/tendermint/config.toml
|
|
- ./tmdata/genesis.json:/tendermint/genesis.json
|
|
- ./tmdata/priv_validator.json:/tendermint/priv_validator.json
|
|
entrypoint: ["/bin/tendermint", "node", "--proxy_app=dummy"]
|