-
Notifications
You must be signed in to change notification settings - Fork 100
/
docker-compose.yml
38 lines (35 loc) · 1.04 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: '2'
services:
zookeeper:
image: 'public.ecr.aws/bitnami/zookeeper:latest'
ports:
- '2181:2182'
environment:
- ALLOW_ANONYMOUS_LOGIN=yes
kafka:
image: 'public.ecr.aws/bitnami/kafka:2.8'
ports:
- '9092:9092'
links:
- zookeeper
container_name: local_kafka
environment:
- KAFKA_BROKER_ID=1
- KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper:2181
- KAFKA_LISTENERS=PLAINTEXT://0.0.0.0:9092
- KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://localhost:9092
- ALLOW_PLAINTEXT_LISTENER=yes
localstack:
container_name: "${LOCALSTACK_DOCKER_NAME-localstack_main}"
image: 'public.ecr.aws/localstack/localstack:latest'
ports:
- "127.0.0.1:4566:4566"
environment:
- SERVICES=cloudwatch, dynamodb, kinesis
- DEBUG=1
- DOCKER_HOST=unix:///var/run/docker.sock
- DEFAULT_REGION=us-east-2
- PARITY_AWS_ACCESS_KEY_ID=1
volumes:
- "${LOCALSTACK_VOLUME_DIR:-./volume}:/var/lib/localstack"
- "/var/run/docker.sock:/var/run/docker.sock"