-
-
Save miklosbagi/399735054bb4a4842892ca7053c2987e to your computer and use it in GitHub Desktop.
localstack aws s3 bucket docker configuration
This file contains 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
services: | |
localstack: | |
image: localstack/localstack | |
ports: | |
- "4566-4599:4566-4599" | |
- "8080:8080" | |
environment: | |
- SERVICES=s3 # we only need s3 bucket | |
- DEBUG=1 | |
- DATA_DIR=/tmp/localstack/data # we need this to make our volume work | |
- DEFAULT_REGION=eu-west-1 | |
- AWS_ACCESS_KEY_ID=testkey | |
- AWS_SECRET_ACCESS_KEY=testsecret | |
volumes: | |
- "./my_localstack_init/init:/tmp/localstack" # we mount our local my_localstack_init folder into tmp/localstack folder in container |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment