From 4e3d6b6b2a049fbb24668be561d522d1148d47b3 Mon Sep 17 00:00:00 2001 From: "Luis Gustavo S. Barreto" Date: Fri, 2 Oct 2020 17:49:30 -0300 Subject: [PATCH] bin: do not load enterprise config in dev mode --- bin/docker-compose | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/docker-compose b/bin/docker-compose index 5b96a1a71cd..dc8a92fe3eb 100755 --- a/bin/docker-compose +++ b/bin/docker-compose @@ -40,7 +40,7 @@ COMPOSE_FILE="docker-compose.yml" [ "$SHELLHUB_AUTO_SSL" = "true" ] && COMPOSE_FILE="${COMPOSE_FILE}:docker-compose.autossl.yml" [ "$SHELLHUB_ENV" = "development" ] && COMPOSE_FILE="${COMPOSE_FILE}:docker-compose.dev.yml" -[ "$SHELLHUB_HOSTED" = "true" ] && COMPOSE_FILE="${COMPOSE_FILE}:docker-compose.enterprise.yml" +[ "$SHELLHUB_HOSTED" = "true" ] && [ "$SHELLHUB_ENV" != "development" ] && COMPOSE_FILE="${COMPOSE_FILE}:docker-compose.enterprise.yml" [ -f docker-compose.override.yml ] && COMPOSE_FILE="${COMPOSE_FILE}:docker-compose.override.yml" [ "$SHELLHUB_AUTO_SSL" = "true" ] && [ "$SHELLHUB_HTTP_PORT" != "0" ] && cat <&2