Skip to content

Commit 12e3f04

Browse files
alvarolopezrabbah
authored andcommitted
Do not use --abort-on-container-exit when starting docker-compose (#262)
If we use the flag "--abort-on-container-exit" we cannot restart a single Docker container, as docker-compose aborts its execution, therefore we cannot use any restart-* commands.
1 parent 9a4dad8 commit 12e3f04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker-compose/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ restart-invoker:
273273

274274
.PHONY: start-docker-compose
275275
start-docker-compose:
276-
$(shell cat $(TMP_HOME)/tmp/openwhisk/local.env) docker-compose --project-name openwhisk -f $(DOCKER_COMPOSE_FILE) up --abort-on-container-exit 2>&1 > $(TMP_HOME)/tmp/openwhisk/docker-compose.log &
276+
$(shell cat $(TMP_HOME)/tmp/openwhisk/local.env) docker-compose --project-name openwhisk -f $(DOCKER_COMPOSE_FILE) up 2>&1 > $(TMP_HOME)/tmp/openwhisk/docker-compose.log &
277277

278278
.PHONY: wait-for-docker-compose-up
279279
wait-for-docker-compose-up:

0 commit comments

Comments
 (0)