forked from eventuate-foundation/eventuate-cdc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-postgres.yml
54 lines (49 loc) · 1.35 KB
/
docker-compose-postgres.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
version: '3'
services:
zookeeper:
image: confluentinc/cp-zookeeper:5.2.4
ports:
- 2181:2181
environment:
ZOOKEEPER_CLIENT_PORT: 2181
KAFKA_HEAP_OPTS: -Xmx64m
kafka:
image: "confluentinc/cp-kafka:5.2.4"
ports:
- 9092:9092
- 29092:29092
depends_on:
- zookeeper
environment:
KAFKA_LISTENERS: LC://kafka:29092,LX://kafka:9092
KAFKA_ADVERTISED_LISTENERS: LC://kafka:29092,LX://${DOCKER_HOST_IP:-localhost}:9092
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: LC:PLAINTEXT,LX:PLAINTEXT
KAFKA_INTER_BROKER_LISTENER_NAME: LC
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
KAFKA_HEAP_OPTS: -Xmx192m
postgres:
image: eventuateio/eventuate-postgres:$EVENTUATE_COMMON_VERSION
ports:
- 5432:5432
environment:
POSTGRES_USER: eventuate
POSTGRES_PASSWORD: eventuate
USE_DB_ID: ${USE_DB_ID}
USE_JSON_PAYLOAD_AND_HEADERS: ${USE_JSON_PAYLOAD_AND_HEADERS}
activemq:
image: eventuateio/eventuate-activemq:$EVENTUATE_ACTIVE_MQ_VERSION
ports:
- 8161:8161
- 61616:61616
- 61613:61613
- 1883:1883
- 61614:61614
rabbitmq:
image: eventuateio/eventuate-rabbitmq:$EVENTUATE_RABBIT_MQ_VERSION
ports:
- 5672:5672
redis:
image: redis:5.0.3
ports:
- 6379:6379