-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
43 lines (39 loc) · 970 Bytes
/
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
version: "3.9"
services:
rabbit-kafka-bridge:
build:
context: "."
image: exaspace/rabbit-kafka-bridge
depends_on:
- rabbitmq
- kafka
command: >
--rabbit_host rabbitmq --rabbit_queue testqueue --kafka_host kafka --kafka_topic testtopic
rabbitmq:
image: rabbitmq:3.11.4-management
expose:
- 5672
- 15672
ports:
- "5672:5672"
- "15672:15672"
volumes:
- ./rabbitmq-test-config:/etc/rabbitmq
kafka:
hostname: kafka
image: docker.io/bitnami/kafka:3.3
depends_on:
- zookeeper
ports:
- '9092:9092'
environment:
- KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper:2181
- KAFKA_CFG_ADVERTISED_HOST_NAME=kafka
- KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://kafka:9092
- ALLOW_PLAINTEXT_LISTENER=yes
zookeeper:
image: docker.io/bitnami/zookeeper:3.8
ports:
- '2181:2181'
environment:
- ALLOW_ANONYMOUS_LOGIN=yes