From de13f513e54cbfc68dfffda5781d72fbc68f782d Mon Sep 17 00:00:00 2001 From: MarcelStranak Date: Mon, 11 Nov 2024 09:55:22 +0100 Subject: [PATCH] remove LAMBDA_REMOTE_DOCKER configuration from README and docker-compose files (#256) --- lambda-mounting-and-debugging/javascript/README.md | 1 - lambda-mounting-and-debugging/javascript/docker-compose.yml | 1 - lambda-mounting-and-debugging/python/README.md | 3 --- 3 files changed, 5 deletions(-) diff --git a/lambda-mounting-and-debugging/javascript/README.md b/lambda-mounting-and-debugging/javascript/README.md index 2b27dcb..d88db2b 100644 --- a/lambda-mounting-and-debugging/javascript/README.md +++ b/lambda-mounting-and-debugging/javascript/README.md @@ -29,7 +29,6 @@ Alternatively, you can use the following `localstack` CLI configuration: ```sh LAMBDA_DOCKER_FLAGS='-e NODE_OPTIONS=--inspect-brk=0.0.0.0:9229 -p 9229:9229' \ - LAMBDA_REMOTE_DOCKER=0 \ localstack start -d ``` diff --git a/lambda-mounting-and-debugging/javascript/docker-compose.yml b/lambda-mounting-and-debugging/javascript/docker-compose.yml index 6ce50ca..94cb778 100644 --- a/lambda-mounting-and-debugging/javascript/docker-compose.yml +++ b/lambda-mounting-and-debugging/javascript/docker-compose.yml @@ -9,7 +9,6 @@ services: - "127.0.0.1:4510-4559:4510-4559" # external services port range environment: - DEBUG=1 - - LAMBDA_REMOTE_DOCKER=0 - LAMBDA_DOCKER_FLAGS=-e NODE_OPTIONS=--inspect-brk=0.0.0.0:9229 -p 9229:9229 - LAMBDA_EXECUTOR=${LAMBDA_EXECUTOR-} - DOCKER_HOST=unix:///var/run/docker.sock diff --git a/lambda-mounting-and-debugging/python/README.md b/lambda-mounting-and-debugging/python/README.md index 525b0c0..ece33f9 100644 --- a/lambda-mounting-and-debugging/python/README.md +++ b/lambda-mounting-and-debugging/python/README.md @@ -21,13 +21,10 @@ make install Make sure that LocalStack is started with the following configuration: ``` LOCALSTACK_AUTH_TOKEN=... \ - LAMBDA_REMOTE_DOCKER=0 \ LAMBDA_DOCKER_FLAGS='-p 19891:19891' \ DEBUG=1 localstack start ``` -Please note that `LAMBDA_REMOTE_DOCKER=0` needs to be configured in order to properly run the sample app (required for local Docker volume mounts). - The config option `LAMBDA_DOCKER_FLAGS='-p 19891:19891'` defines a Docker flag that exposes port `19891` for debugging the Lambda handler code that will run inside the container. ## Running the Sample