docker-compose.yml 599 B

12345678910111213141516171819
  1. version: "3.8"
  2. services:
  3. localstack:
  4. container_name: "${LOCALSTACK_DOCKER_NAME-localstack_main}"
  5. image: localstack/localstack
  6. ports:
  7. - "127.0.0.1:4566:4566" # LocalStack Gateway
  8. - "127.0.0.1:4510-4559:4510-4559" # external services port range
  9. environment:
  10. - DEBUG=${DEBUG-}
  11. - LAMBDA_EXECUTOR=${LAMBDA_EXECUTOR-}
  12. - DOCKER_HOST=unix:///var/run/docker.sock
  13. - SERVICES=sqs
  14. - EAGER_SERVICE_LOADING=1
  15. volumes:
  16. - "${LOCALSTACK_VOLUME_DIR:-./volume}:/var/lib/localstack"
  17. - "/var/run/docker.sock:/var/run/docker.sock"