forked from erdemcer/kafka-connect-oracle
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
61 lines (56 loc) · 1.33 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
56
57
58
59
60
61
version: "3.7"
networks:
front-tier:
driver: bridge
back-tier:
driver: bridge
services:
oraclesync:
restart: always
network_mode: "bridge"
image: mes.com/tools/kafka-connect-oracle:1.0.72
depends_on:
- zookeeper
- kafka
ports:
- 8083:8083
volumes:
- /opt/oracle/datasync/config:/home/java-app/config
- /opt/oracle/datasync/sync:/home/java-app/sync
- /opt/oracle/datasync/logs:/home/java-app/logs
zookeeper:
network_mode: "bridge"
image: mes.com/library/zookeeper:3.4.13
privileged: true
restart: always
ports:
- 2181:2181
volumes:
- /etc/localtime:/etc/localtime
kafka:
network_mode: "bridge"
image: mes.com/library/kafka:2.13_2.7.0
environment:
- JMX_PORT=9999
- HOST_IP=192.168.223.167
- KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181
- KAFKA_ADVERTISED_HOST_NAME=192.168.223.167
- KAFKA_ADVERTISED_PORT=9092
ports:
- 9092:9092
volumes:
- /etc/localtime:/etc/localtime
links:
- zookeeper:zookeeper
kafkaManage:
network_mode: "bridge"
image: mes.com/library/kafka-manager:1.3.3.22
environment:
- ZK_HOSTS=zookeeper:2181
ports:
- 9001:9000
volumes:
- /etc/localtime:/etc/localtime
links:
- zookeeper:zookeeper
- kafka:kafka