Skip to content

Instantly share code, notes, and snippets.

@theawesomenayak
Created October 24, 2020 15:13
Show Gist options
  • Save theawesomenayak/baee28a3d38a28c4870e2638cf03feb9 to your computer and use it in GitHub Desktop.
Save theawesomenayak/baee28a3d38a28c4870e2638cf03feb9 to your computer and use it in GitHub Desktop.
version: '3'
services:
localstack:
container_name: ${LOCALSTACK_DOCKER_NAME-localstack_main}
image: localstack/localstack
network_mode: bridge
ports:
- "4566:4566"
environment:
- SERVICES=dynamodb
- DEFAULT_REGION=us-west-1
- LAMBDA_EXECUTOR=local
- DATA_DIR=/tmp/localstack/data
volumes:
- "./tmp/localstack:/tmp/localstack"
- "./tmp/localstack/run/docker.sock:/var/run/docker.sock"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment