12345678910111213141516171819 |
- version: "3.8"
- services:
- localstack:
- container_name: "${LOCALSTACK_DOCKER_NAME-localstack_main}"
- image: localstack/localstack
- ports:
- - "127.0.0.1:4566:4566" # LocalStack Gateway
- - "127.0.0.1:4510-4559:4510-4559" # external services port range
- environment:
- - DEBUG=${DEBUG-}
- - LAMBDA_EXECUTOR=${LAMBDA_EXECUTOR-}
- - DOCKER_HOST=unix:///var/run/docker.sock
- - SERVICES=sqs
- - EAGER_SERVICE_LOADING=1
- volumes:
- - "${LOCALSTACK_VOLUME_DIR:-./volume}:/var/lib/localstack"
- - "/var/run/docker.sock:/var/run/docker.sock"
|