From 6b5fe1903689bae3bf9aacfd86d3af712995fefd Mon Sep 17 00:00:00 2001 From: Lev Berman Date: Tue, 12 Jun 2018 10:26:52 +0200 Subject: [PATCH] Problem: Tendermint freezes due to docker-compose bug. (#2341) Solution: Do not rely on depends_on when running containers in the foreground. Solves #2322. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9c7a4137..309fcca9 100644 --- a/Makefile +++ b/Makefile @@ -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