Skip to content

Instantly share code, notes, and snippets.

@borischerkasky
Last active September 23, 2024 22:37
Show Gist options
  • Select an option

  • Save borischerkasky/967970bc52d65cdb432b35c066496bf3 to your computer and use it in GitHub Desktop.

Select an option

Save borischerkasky/967970bc52d65cdb432b35c066496bf3 to your computer and use it in GitHub Desktop.
localstack docker compose
version: "3"
services:
localstack:
image: localstack/localstack
ports:
- "4568-4569:4568-4569"
- "${PORT_WEB_UI-8080}:${PORT_WEB_UI-8080}"
environment:
- DOCKER_HOST=unix:///var/run/docker.sock
- SERVICES=dynamodb:4569,kinesis:4568
- DEFAULT_REGION=us-east-1
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "/private${TMPDIR}:/tmp/localstack"
networks:
- my_awesome_network
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment