-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
83 lines (77 loc) · 2.03 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
---
version: "3.4"
services:
zookeeper:
image: debezium/zookeeper:1.1
ports:
- "2181:2181"
- "2888:2888"
- "3888:3888"
kafka:
image: debezium/kafka:1.1
ports:
- "9092:9092"
links:
- zookeeper
environment:
- ZOOKEEPER_CONNECT=zookeeper:2181
- ADVERTISED_HOST_NAME=kafka
connect:
build: ./debezium-jdbc-es
ports:
- "8083:8083"
- "5005:5005"
links:
- kafka
- elasticsearch
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
postgres:
build: ./postgres
ports:
- "5432:5432"
volumes:
- ./postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
- ./postgres/conf.d:/conf.d
# - /data/postgresql:/var/lib/postgresql/data
environment:
- POSTGRES_DB=${POSTGRES_DB}
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch-oss:${EK_VERSION}
ports:
- "9200:9200"
expose:
- "9200"
environment:
- http.host=0.0.0.0
- transport.host= 127.0.0.1
- discovery.type=single-node
- cluster.routing.allocation.disk.threshold_enabled=false
- ES_JAVA_OPTS=-Xms512m -Xmx512m
kibana:
image: docker.elastic.co/kibana/kibana-oss:${EK_VERSION}
links:
- elasticsearch
ports:
- "5601:5601"
grafana:
image: grafana/grafana:${GRAFANA_VERSION}
ports:
- "3000:3000"
volumes:
- ./grafana/dashboards:/var/lib/grafana/dashboards
- ./grafana/provisioning:/etc/grafana/provisioning
environment:
- GF_INSTALL_PLUGINS=${GRAFANA_INSTALL_PLUGINS}
- GF_AUTH_DISABLE_LOGIN_FORM=true
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_NAME=Main Org.
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_USERS_ALLOW_SIGN_UP=false
...