docker / awesome-compose

Awesome Docker Compose samples
https://docs.docker.com/compose/
Creative Commons Zero v1.0 Universal
34.57k stars 6.64k forks source link

Added localstack example using docker compose #400

Open ulises-jeremias opened 11 months ago

ulises-jeremias commented 11 months ago

This PR adds an example using LocalStack to run cloud services locally with Docker Compose. This example shows how to use LocalStack to emulate AWS services locally using docker compose.

Project structure:

.
├── init.d/
│   └── init.sh
├── compose.yaml
└── README.md

compose.yaml

services:
  localstack:
    image: localstack/localstack:2.3.2
    ports:
      - "4566:4566" # LocalStack Gateway
      - "4510-4559:4510-4559" # external services port range
    ...