Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove LAMBDA_REMOTE_DOCKER configuration from README and docker-compose files #256

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading