-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcompose.yaml
30 lines (28 loc) · 960 Bytes
/
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
name: "kohaku-dev"
services:
clickhouse:
image: clickhouse/clickhouse-server:latest
environment:
- CLICKHOUSE_DB=default
- CLICKHOUSE_USER=default
- CLICKHOUSE_PASSWORD=default
- CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT=1
volumes:
# - ./clickhouse/config.xml:/etc/clickhouse-server/config.d/config.xml
# - ./clickhouse/users.xml:/etc/clickhous-server/users.d/users.xml
- ./db/schema.sql:/docker-entrypoint-initdb.d/schema.sql
ports:
- "8123:8123"
- "9000:9000"
- "9440:9440"
# grafana:
# image: grafana/grafana:latest
# ports:
# - "3333:3000"
# volumes:
# - ./.grafana:/var/lib/grafana
# - ./grafana/datasources:/etc/grafana/provisioning/datasources
# - ./grafana/dashboards/kohaku.yml:/etc/grafana/provisioning/dashboards/kohaku.yml
# - ./grafana/dashboards/kohaku:/var/lib/grafana/dashboards/kohaku
# depends_on:
# - clickhouse