Skip to content

Instantly share code, notes, and snippets.

@lawson-ng
Created November 29, 2021 15:43
Show Gist options
  • Save lawson-ng/c74fe4a41dbb9d1aad860eca59164aaf to your computer and use it in GitHub Desktop.
Save lawson-ng/c74fe4a41dbb9d1aad860eca59164aaf to your computer and use it in GitHub Desktop.
Docker compose for local stack
version: "2.1"
services:
localstack:
image: localstack/localstack:0.12.19.1
ports:
- "4566:4566"
environment:
- SERVICES=dynamodb
- DATA_DIR=/tmp/localstack/data
container_name: dev-localstack
volumes:
- "localstack-vol:/tmp/localstack"
volumes:
localstack-vol:
name: "localstack-vol"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment