forked from housepower/clickhouse_sinker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
65 lines (64 loc) · 1.69 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
---
version: '3'
services:
zookeeper:
image: zookeeper:3.4.12
restart: always
hostname: zookeeper
ports:
- "2181:2181"
security_opt:
- label:disable
kafka:
image: confluentinc/cp-kafka:5.0.1-1
container_name: kafka
restart: always
hostname: kafka
ports:
- "9092:9092"
- "9093:9093"
environment:
KAFKA_ADVERTISED_LISTENERS: "LISTENER_DOCKER_INTERNAL://127.0.0.1:9092,LISTENER_DOCKER_EXTERNAL://127.0.0.1:9093"
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: LISTENER_DOCKER_INTERNAL:PLAINTEXT,LISTENER_DOCKER_EXTERNAL:PLAINTEXT
KAFKA_INTER_BROKER_LISTENER_NAME: LISTENER_DOCKER_INTERNAL
KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181"
KAFKA_BROKER_ID: 1
KAFKA_LOG4J_LOGGERS: "kafka.controller=INFO,kafka.producer.async.DefaultEventHandler=INFO,state.change.logger=INFO"
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
depends_on:
- zookeeper
security_opt:
- label:disable
clickhouse:
image: yandex/clickhouse-server:19.16
restart: always
ports:
- "8123:8123"
- "9000:9000"
ulimits:
nofile:
soft: 262144
hard: 262144
volumes:
- "./docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d"
security_opt:
- label:disable
tabix:
image: spoonest/clickhouse-tabix-web-client
restart: always
ports:
- "8080:80"
depends_on:
- clickhouse
environment:
CH_NAME: "dev"
CH_HOST: "http://127.0.0.1:8123"
CH_LOGIN: "default"
CH_PASSWORD: ""
security_opt:
- label:disable
consul:
image: consul:latest
restart: always
network_mode: host
command: "agent -dev -ui -client 0.0.0.0"