-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
73 lines (65 loc) · 1.47 KB
/
docker-compose.yaml
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
version: "3"
services:
mariadb:
image: mariadb:10
ports:
- 3306:3306
volumes:
- ./volumes/mysql/data:/var/lib/mysql:rw
- ./mysql/my.cnf:/etc/mysql/conf.d/my.cnf:ro
- ./mysql/dump.sql:/docker-entrypoint-initdb.d/dump.sql:ro
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: app
MYSQL_USER: appuser
MYSQL_PASSWORD: app123
adminer:
image: adminer:4.8.1
depends_on:
- mariadb
ports:
- 8081:8080
environment:
ADMINER_DEFAULT_SERVER: mariadb
zookeeper:
image: bitnami/zookeeper:3.7.1
ports:
- 2181:2181
volumes:
- ./volumes/zookeeper/data:/bitnami
environment:
ALLOW_ANONYMOUS_LOGIN: yes
kafka:
image: bitnami/kafka:3.3.2
depends_on:
- zookeeper
ports:
- 9092:9092
- 9093:9093
volumes:
- ./volumes/kafka/data:/bitnami
environment:
KAFKA_BROKER_ID: 1
KAFKA_CFG_LISTENERS: PLAINTEXT://:9092
KAFKA_CFG_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092
KAFKA_CFG_ZOOKEEPER_CONNECT: zookeeper:2181
ALLOW_PLAINTEXT_LISTENER: yes
kafdrop:
image: obsidiandynamics/kafdrop:3.26.0
depends_on:
- kafka
ports:
- 9000:9000
environment:
KAFKA_BROKERCONNECT: kafka:9092
# maxwell:
# image: zendesk/maxwell:v1.39.4
# depends_on:
# - mariadb
# - kafka
# environment:
# USER: root
# PASSWORD: root
networks:
backend:
driver: bridge