forked from MaterializeInc/materialize
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmzcompose.yml
75 lines (65 loc) · 2.02 KB
/
mzcompose.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
# Copyright Materialize, Inc. and contributors. All rights reserved.
#
# Use of this software is governed by the Business Source License
# included in the LICENSE file at the root of this repository.
#
# As of the Change Date specified in that file, in accordance with
# the Business Source License, use of this software will be governed
# by the Apache License, Version 2.0.
version: '3.7'
services:
zookeeper:
image: confluentinc/cp-zookeeper:5.5.4
environment:
- ZOOKEEPER_CLIENT_PORT=2181
kafka:
image: confluentinc/cp-enterprise-kafka:5.5.4
ports: [9092]
depends_on: [zookeeper]
environment:
- KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181
- KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://kafka:9092
- KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR=1
schema-registry:
image: confluentinc/cp-schema-registry:5.5.4
ports: [8081]
environment:
- SCHEMA_REGISTRY_KAFKASTORE_BOOTSTRAP_SERVERS=PLAINTEXT://kafka:9092
- SCHEMA_REGISTRY_HOST_NAME=localhost
connect:
image: debezium/connect:1.4
ports: [8083]
environment:
- BOOTSTRAP_SERVERS=kafka:9092
- GROUP_ID=1
- CONFIG_STORAGE_TOPIC=connect_configs
- OFFSET_STORAGE_TOPIC=connect_offsets
- KEY_CONVERTER=io.confluent.connect.avro.AvroConverter
- VALUE_CONVERTER=io.confluent.connect.avro.AvroConverter
- CONNECT_KEY_CONVERTER_SCHEMA_REGISTRY_URL=http://schema-registry:8081
- CONNECT_VALUE_CONVERTER_SCHEMA_REGISTRY_URL=http://schema-registry:8081
depends_on: [kafka, schema-registry]
mysql:
build: mysql
ports: [3306]
environment:
- MYSQL_ROOT_HOST=%
- MYSQL_ROOT_PASSWORD=rootpw
- MYSQL_USER=mysqluser
- MYSQL_PASSWORD=mysqlpw
volumes: [chbench-gen:/var/lib/mysql-files]
chbench:
init: true
mzbuild: chbenchmark
volumes: [chbench-gen:/gen]
materialized:
mzbuild: materialized
ports: [6875]
command: [--disable-telemetry]
environment:
- MZ_DEV=1
metabase:
image: metabase/metabase:v0.41.4
ports: [3000]
volumes:
chbench-gen: