-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose-apicurio.yml
executable file
·123 lines (120 loc) · 3.32 KB
/
docker-compose-apicurio.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
version: '3'
services:
# liferay:
# build: ./LIFERAY/
# ports:
# - "8080:8080"
# volumes:
# - ./LIFERAY/prueba:/liferay
# liferayossi:
# build: ./LIFERAY_OSSI/
# ports:
# - "8073:8080"
# volumes:
# - ./LIFERAY_OSSI/liferay-portal-6.1.0-ce-ga1:/liferay
# - /home/ivan/Documentos/DOCKER_DEV_L7/data/data:/liferay/data
oracle:
image: ivancondori/oracle-11g:11.2.0.4_PE
hostname: oracle-docker
ports:
- "1521:1521"
volumes:
- ./oracle/app:/opt/oracle/app
- ./oracle/dpdump:/opt/oracle/dpdump
- /home/ivan/Documentos/DOCKER_DEV/DOCKER_ORACLE_2020/install:/install
privileged: true
# oraclelink:
# image: ivancondori/oracle-11g:11.2.0.4_PE
# hostname: oraclelink-docker
# ports:
# - "1522:1521"
# volumes:
# - ./oraclelink/app:/opt/oracle/app
# - ./oraclelink/dpdump:/opt/oracle/dpdump
# - ./oraclelink/install:/install
# privileged: true
zookeeper:
image: debezium/zookeeper:${DEBEZIUM_VERSION}
ports:
- 2181:2181
- 2888:2888
- 3888:3888
kafka:
image: debezium/kafka:${DEBEZIUM_VERSION}
ports:
- 9092:9092
links:
- zookeeper
environment:
- ZOOKEEPER_CONNECT=zookeeper:2181
- ADVERTISED_HOST_NAME=10.75.23.249
# mysql:
# image: quay.io/debezium/example-mysql:${DEBEZIUM_VERSION}
# ports:
# - 3306:3306
# environment:
# - MYSQL_ROOT_PASSWORD=debezium
# - MYSQL_USER=mysqluser
# - MYSQL_PASSWORD=mysqlpw
postgres:
image: quay.io/debezium/postgres:9.6
ports:
- "5432:5432"
environment:
- POSTGRES_USER=postgresuser
- POSTGRES_PASSWORD=postgrespw
- POSTGRES_DB=inventory
volumes:
- ./postgres-data:/var/lib/postgresql
apicurio:
image: apicurio/apicurio-registry-mem:2.2.5.Final
ports:
- 8080:8080
connect:
image: debezium/connect-jdbc-es:${DEBEZIUM_VERSION}
build:
context: debezium-jdbc-es
args:
DEBEZIUM_VERSION: ${DEBEZIUM_VERSION}
ports:
- 8083:8083
- 5005:5005
links:
- kafka
- oracle
- postgres
- apicurio
environment:
- BOOTSTRAP_SERVERS=kafka:9092
- GROUP_ID=1
- CONFIG_STORAGE_TOPIC=my_connect_configs
- OFFSET_STORAGE_TOPIC=my_connect_offsets
- STATUS_STORAGE_TOPIC=my_source_connect_statuses
- LD_LIBRARY_PATH=/instant_client
- ENABLE_APICURIO_CONVERTERS=true
- KEY_CONVERTER=io.confluent.connect.avro.AvroConverter
- VALUE_CONVERTER=io.confluent.connect.avro.AvroConverter
- CONNECT_KEY_CONVERTER_SCHEMA_REGISTRY_URL=http://apicurio:8080/apis/ccompat/v6
- CONNECT_VALUE_CONVERTER_SCHEMA_REGISTRY_URL=http://apicurio:8080/apis/ccompat/v6
ksqldb:
image: confluentinc/ksqldb-server:0.9.0
container_name: ksqldb
depends_on:
- kafka
- connect
ports:
- "8088:8088"
environment:
KSQL_LISTENERS: http://0.0.0.0:8088
KSQL_BOOTSTRAP_SERVERS: kafka:9092
KSQL_KSQL_LOGGING_PROCESSING_STREAM_AUTO_CREATE: "true"
KSQL_KSQL_LOGGING_PROCESSING_TOPIC_AUTO_CREATE: "true"
KSQL_KSQL_CONNECT_URL: http://connect:8083
KSQL_KSQL_SCHEMA_REGISTRY_URL: http://apicurio:8080/apis/ccompat/v6
KSQL_KSQL_SERVICE_ID: confluent_rmoff_01
KSQL_KSQL_HIDDEN_TOPICS: '^_.*'
mongodb:
image: mongo:5.0
hostname: mongodb
ports:
- 27017:27017