Skip to content

Instantly share code, notes, and snippets.

@andersoonluan
Created October 16, 2023 20:36
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 andersoonluan/65966f3f328e7af09db0fd1abce786b5 to your computer and use it in GitHub Desktop.
Save andersoonluan/65966f3f328e7af09db0fd1abce786b5 to your computer and use it in GitHub Desktop.
AWS LocalStack (SQS,SNS and S3)
version: '3.9'
services:
localstack:
container_name: localstack
image: localstack/localstack:1.4.0
networks:
- webnet
ports:
- '4566:4566'
environment:
- SERVICES=sqs,sns,s3
- DEBUG=1
- AWS_DEFAULT_REGION=us-east-1
- DATA_DIR=/tmp/localstack/data
volumes:
- ./tmp/localstack:/var/lib/localstack
- /var/run/docker.sock:/var/run/docker.sock
networks:
webnet:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment