-
Notifications
You must be signed in to change notification settings - Fork 21
/
docker-compose.yaml
44 lines (43 loc) · 1.39 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
version: "3.5"
services:
clickhouse:
image: clickhouse/clickhouse-server:21.8
user: "${UID:?You must do 'export UID' to launch}"
volumes:
- "./rollup.xml:/etc/clickhouse-server/config.d/rollup.xml"
- "./init.sql:/docker-entrypoint-initdb.d/init.sql"
- "./data/clickhouse:/var/lib/clickhouse"
networks:
- graphite-clickhouse-tldr
carbon-clickhouse:
image: ghcr.io/lomik/carbon-clickhouse:0.11.2
user: "${UID:?You must do 'export UID' to launch}"
volumes:
- "./data:/data"
- "./carbon-clickhouse.conf:/etc/carbon-clickhouse/carbon-clickhouse.conf"
ports:
- "2003:2003" # plain tcp
- "2003:2003/udp" # plain udp
- "2004:2004" # pickle
- "2006:2006" # prometheus remote write
networks:
- graphite-clickhouse-tldr
graphite-clickhouse:
image: ghcr.io/lomik/graphite-clickhouse:0.13.2
volumes:
- "./rollup.xml:/etc/graphite-clickhouse/rollup.xml"
- "./graphite-clickhouse.conf:/etc/graphite-clickhouse/graphite-clickhouse.conf"
networks:
- graphite-clickhouse-tldr
graphite-web:
image: graphiteapp/graphite-statsd:1.1.8-1
volumes:
- "./graphiteweb_entrypoint.sh:/entrypoint.sh"
- "./graphiteweb.conf:/opt/graphite/webapp/graphite/local_settings.py"
entrypoint: /entrypoint.sh
networks:
- graphite-clickhouse-tldr
ports:
- "80:80" # http ui
networks:
graphite-clickhouse-tldr: