-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
55 lines (49 loc) · 1.24 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
version: '2'
services:
zookeeper:
image: 'docker.io/bitnami/zookeeper:3-debian-10'
ports:
- '2181:2181'
volumes:
- zookeeper_data_${THOMAS_ENV}:/bitnami
environment:
- ALLOW_ANONYMOUS_LOGIN=yes
kafka:
image: 'docker.io/bitnami/kafka:2-debian-10'
ports:
- '9092:9092'
volumes:
- kafka_data_${THOMAS_ENV}:/bitnami
environment:
- KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper:2181
- KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE=true
- ALLOW_PLAINTEXT_LISTENER=yes
- KAFKA_LISTENERS=PLAINTEXT://:9092
- KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://127.0.0.1:9092
depends_on:
- zookeeper
mongo:
container_name: thomas-mongodb-${THOMAS_ENV}
image: 'mongo:6.0.13'
ports:
- ${THOMAS_MONGO_PORT}:27017
volumes:
- mongo_data_${THOMAS_ENV}:/data/db
dynamo:
container_name: thomas-dynamo-${THOMAS_ENV}
build:
context: .
dockerfile: docker/dynamodb/Dockerfile
ports:
- ${THOMAS_DYNAMO_PORT}:8000
volumes:
- dynamo_data_${THOMAS_ENV}:/home/dynamodblocal/db
volumes:
zookeeper_data_test:
kafka_data_test:
zookeeper_data_dev:
kafka_data_dev:
mongo_data_test:
dynamo_data_test:
mongo_data_dev:
dynamo_data_dev: