-
Notifications
You must be signed in to change notification settings - Fork 107
Expand file tree
/
Copy pathdocker-compose-extra.yml
More file actions
58 lines (56 loc) · 1.6 KB
/
docker-compose-extra.yml
File metadata and controls
58 lines (56 loc) · 1.6 KB
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
services:
# Kafka connect.
kafka-connect:
profiles: [ "kafka-connect" ]
image: ghcr.io/feldera/kafka-connect:${FELDERA_VERSION:-latest}
build:
context: ../
dockerfile: deploy/Dockerfile.kafka-connect
depends_on:
redpanda:
condition: service_healthy
ports:
- "8083:8083"
environment:
BOOTSTRAP_SERVERS: "redpanda:9092"
GROUP_ID: "1"
CONFIG_STORAGE_TOPIC: "inventory.configs"
OFFSET_STORAGE_TOPIC: "inventory.offset"
STATUS_STORAGE_TOPIC: "inventory.status"
LOG_LEVEL: "ERROR"
healthcheck:
test:
[
"CMD-SHELL",
"curl --fail --request GET --url http://localhost:8083/"
]
interval: 10s
timeout: 5s
retries: 5
# MySQL container with a toy database used in the Debezium
# MySQL tutorial (based on MySQL 8.0).
mysql:
profiles: [ "mysql" ]
image: debezium/example-mysql:2.5
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: debezium
MYSQL_USER: mysqluser
MYSQL_PASSWORD: mysqlpw
healthcheck:
test: ["CMD-SHELL", "mysql -h 127.0.0.1 -u $$MYSQL_USER -p$$MYSQL_PASSWORD -e 'USE inventory;'"]
interval: 5s
timeout: 5s
# MySQL can be _very_ slow to start.
retries: 40
# Postgres container for testing Debezium JDBC sink connector.
postgres:
profiles: [ "postgres" ]
image: debezium/example-postgres:2.5
ports:
# Make sure that port numbers don't clash with the pipeline manager DB.
- "6432:5432"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres