From 12043ea66e0913c3a1a7113798fb61fbee2f91d7 Mon Sep 17 00:00:00 2001 From: Paul Robello Date: Wed, 24 Jan 2024 15:09:34 -0800 Subject: [PATCH] fixed start-ls.sh not enabling pro key docker layer --- docker-compose.yml | 2 +- root/bin/ls/start-ls.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 43aa0a8..6ffd869 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -117,7 +117,7 @@ services: - PROXY_VOLUME_DIR # where to persist cert files. defaults to /tmp/mitproxy - PROXY_URL # http(s) proxy to use. if USE_PROXY_HOST is enabled will be set to http://PROXY_CONTAINER_NAME:8080 - PROXY_AUTO_EXPORT_ENV # auto export HTTP_PROXY and HTTPS_PROXY vars equal to PROXY_URL - - DEV_CONTAINER=1.10.0 # used to detect if running inside dev container + - DEV_CONTAINER=1.10.1 # used to detect if running inside dev container volumes: - /var/run/docker.sock:/var/run/docker.sock # allow container to interact with host docker - "${GDC_DIR}:/root/gdc-host" # mount gdc folder inside container to get access to compose files diff --git a/root/bin/ls/start-ls.sh b/root/bin/ls/start-ls.sh index 81994d1..4f3b314 100755 --- a/root/bin/ls/start-ls.sh +++ b/root/bin/ls/start-ls.sh @@ -50,6 +50,10 @@ fi if [ "$USE_LOCALSTACK_PERSISTENCE" = "yes" ]; then COMPOSE_FILES="$COMPOSE_FILES -f dc-ls-persist.yml" fi +if [ "$USE_LOCALSTACK_PRO" = "yes" ]; then + COMPOSE_FILES="$COMPOSE_FILES -f dc-ls-pro.yml" +fi + if [ -z "$COMPOSE_BIN" ]; then COMPOSE_BIN="docker compose"