-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
62 lines (53 loc) · 1.33 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
version: '2.3'
volumes:
clickhouse:
services:
clickhouse1:
extends:
file: clickhouse-service.yml
service: clickhouse
user: clickhouse:clickhouse
container_name: clickhouse1
hostname: clickhouse1
cloki:
extends:
file: cloki.yml
service: cloki
hostname: cloki
depends_on:
clickhouse1:
condition: service_healthy
canary:
image: qxip/cloki-canary
container_name: canary
volumes:
- ./out:/out
entrypoint: /bin/bash
command: -c "/usr/bin/loki-canary -addr=${CLOKI_HOST:-cloki}:${CLOKI_PORT:-3100} 2>/out/debug.log 1>/out/canary.log"
depends_on:
clickhouse1:
condition: service_healthy
promtail:
image: grafana/promtail
volumes:
- ./configs/promtail.yml:/etc/promtail.yml
- ./out:/out:ro
command: -config.file=/etc/promtail.yml
depends_on:
clickhouse1:
condition: service_healthy
# pastash:
# extends:
# file: pastash.yml
# service: pastash
# container_name: pastash
# depends_on:
# clickhouse1:
# condition: service_healthy
# dummy service which does nothing, but allows to postpone
# 'docker-compose up -d' till all dependecies will go healthy
all_services_ready:
image: hello-world
depends_on:
clickhouse1:
condition: service_healthy