Skip to content

Commit

Permalink
remove LAMBDA_REMOTE_DOCKER configuration from README and docker-comp…
Browse files Browse the repository at this point in the history
…ose files (#256)
  • Loading branch information
MarcelStranak authored Nov 11, 2024
1 parent 636c092 commit de13f51
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion lambda-mounting-and-debugging/javascript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions lambda-mounting-and-debugging/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit de13f51

Please sign in to comment.