Created
August 16, 2020 07:55
-
-
Save baiyongzhen/230962cc100d28a413d24d5a5acd132f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3.3' | |
| services: | |
| localstack: | |
| image: localstack/localstack:0.11.3 | |
| privileged: true | |
| ports: | |
| - 8080:8080 | |
| - 4567:4567 # apigateway | |
| #- 4568:4568 # kinesis | |
| - 4569:4569 # dynamodb | |
| #- 4570:4570 # dynamodbstreams | |
| #- 4571:4571 # elasticache | |
| - 4572:4572 # s3 | |
| #- 4573:4573 # firehose | |
| - 4574:4574 # lambda | |
| - 4597:4597 # ec2 | |
| environment: | |
| - DATA_DIR=/tmp/localstack/data | |
| - DEBUG=1 | |
| - DEFAULT_REGION=ap-southeast-2 | |
| - DOCKER_HOST=unix:///var/run/docker.sock | |
| - LAMBDA_EXECUTOR=docker-reuse | |
| - PORT_WEB_UI=8080 | |
| - SERVICES=s3,lambda,dynamodb,ec2 | |
| - HOSTNAME=localstack | |
| volumes: | |
| - /var/run/docker.sock:/var/run/docker.sock | |
| - localstack:/tmp/localstack/data | |
| volumes: | |
| localstack: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment