Problem: Tendermint freezes due to docker-compose bug. (#2341)

Solution: Do not rely on depends_on when running containers in the foreground. Solves #2322.
This commit is contained in:
Lev Berman 2018-06-12 10:26:52 +02:00 committed by GitHub
parent 04514fe17f
commit 6b5fe19036
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -56,7 +56,10 @@ help: ## Show this help
@$(HELP) < $(MAKEFILE_LIST)
run: check-deps ## Run BigchainDB from source (stop it with ctrl+c)
@$(DC) up bigchaindb
# although bigchaindb has tendermint and mongodb in depends_on,
# launch them first otherwise tendermint will get stuck upon sending yet another log
# due to some docker-compose issue; does not happen when containers are run as daemons
@$(DC) up --no-deps mongodb tendermint bigchaindb
start: check-deps ## Run BigchainDB from source and daemonize it (stop with `make stop`)
@$(DC) up -d bigchaindb