Created
February 15, 2024 15:02
-
-
Save marcos-inja/69f3770f14f353fcce6d8061f49d419c to your computer and use it in GitHub Desktop.
Localstack docker-compose
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
version: "3.8" | |
services: | |
localstack: | |
container_name: "${LOCALSTACK_DOCKER_NAME-localstack_main}" | |
image: localstack/localstack | |
ports: | |
- "127.0.0.1:4566:4566" | |
- "127.0.0.1:4510-4559:4510-4559" | |
- "127.0.0.1:53:53" | |
- "127.0.0.1:53:53/udp" | |
- "127.0.0.1:443:443" | |
environment: | |
- DEBUG=${DEBUG-} | |
- PERSISTENCE=${PERSISTENCE-} | |
- LAMBDA_EXECUTOR=${LAMBDA_EXECUTOR-} | |
- DOCKER_HOST=unix:///var/run/docker.sock | |
volumes: | |
- "${LOCALSTACK_VOLUME_DIR:-./volume}:/var/lib/localstack" | |
- "/var/run/docker.sock:/var/run/docker.sock" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment