Skip to content

Instantly share code, notes, and snippets.

@sats17
Created April 5, 2021 15:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sats17/1e45e717d68ef271f43d394625de4bcd to your computer and use it in GitHub Desktop.
Save sats17/1e45e717d68ef271f43d394625de4bcd to your computer and use it in GitHub Desktop.
version: '3.8'
services:
localstack:
container_name: "localstack-container"
image: localstack/localstack:latest
ports:
- "4566:4566"
- "9200:4571"
environment:
- SERVICES=es, s3, ec2, dynamodb, sqs
- DEBUG=1
- LAMBDA_REMOTE_DOCKER=0
- DATA_DIR=/tmp/localstack/data
- DEFAULT_REGION=us-east-1
volumes:
- './.localstack:/tmp/localstack'
- '/var/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