-
Notifications
You must be signed in to change notification settings - Fork 12
/
docker-compose.test.yml
60 lines (60 loc) · 1.62 KB
/
docker-compose.test.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
56
57
58
59
60
version: '2'
services:
mongo:
image: mongo:3.4.3
command: mongod --port 27018
ports:
- 27018:27018
s3server:
image: scality/s3server
ports:
- 8000:8000
environment:
- "SCALITY_ACCESS_KEY_ID=newAccessKey"
- "SCALITY_SECRET_ACCESS_KEY=newSecretKey"
zookeeper_test:
image: confluentinc/cp-zookeeper:5.2.3
ports:
- 32182:32182
environment:
ZOOKEEPER_CLIENT_PORT: 32182
ZOOKEEPER_TICK_TIME: 2000
extra_hosts:
- "moby:127.0.0.1"
- "localhost: 127.0.0.1"
kafka_test:
image: confluentinc/cp-kafka:5.2.3
ports:
- 9092:9092
depends_on:
- zookeeper_test
environment:
KAFKA_BROKER_ID: 1
KAFKA_ZOOKEEPER_CONNECT: zookeeper_test:32182
KAFKA_LISTENERS: "INTERNAL://:9093,EXTERNAL://:9092"
KAFKA_ADVERTISED_LISTENERS: "INTERNAL://kafka_test:9093,EXTERNAL://localhost:9092"
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: "INTERNAL:PLAINTEXT,EXTERNAL:PLAINTEXT"
KAFKA_INTER_BROKER_LISTENER_NAME: "INTERNAL"
KAFKA_AUTO_CREATE_TOPICS_ENABLE: "true"
KAFKA_DELETE_TOPIC_ENABLE: "true"
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
KAFKA_NUM_PARTITIONS: 1
extra_hosts:
- "moby:127.0.0.1"
- "localhost: 127.0.0.1"
akhq_test:
image: tchiotludo/akhq
ports:
- 9005:8080
environment:
AKHQ_CONFIGURATION: |
akhq:
connections:
docker-kafka-server:
properties:
bootstrap.servers: "kafka_test:9092"
depends_on:
- kafka_test
extra_hosts:
- "moby:127.0.0.1"
- "localhost: 127.0.0.1"