-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
57 lines (51 loc) · 1.12 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
version: "3.6"
services:
nginx:
image: tarantool/tarantool-nginx
ports:
- 80:80
volumes:
- ./docker/nginx/nginx.conf:/etc/nginx/nginx.conf
network_mode: host
clickhouse-server:
image: yandex/clickhouse-server
volumes:
- ./docker/clickhouse/config.xml:/etc/clickhouse-server/config.xml
- ./docker/clickhouse/zookeeper-servers.xml:/etc/clickhouse-server/conf.d/zookeeper-servers.xml
- clickhouse:/var/lib/clickhouse
depends_on:
- kafka
links:
- kafka
ports:
- 8123:8123
clickhouse-client:
image: yandex/clickhouse-client
entrypoint:
- /bin/sleep
command:
- infinity
kafka:
image: wurstmeister/kafka:2.11-1.0.2
volumes:
- kafka:/data
environment:
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
HOSTNAME_COMMAND: "route -n | awk '/UG[ \t]/{print $$2}'"
depends_on:
- zookeeper
links:
- zookeeper
ports:
- 9092:9092
- 9094:9094
zookeeper:
image: zookeeper
volumes:
- zookeeper:/data
ports:
- 2181:2181
volumes:
clickhouse:
zookeeper:
kafka: