We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08b37ce commit 8daabe3Copy full SHA for 8daabe3
docker/clickhouse/docker-compose.yml
@@ -0,0 +1,25 @@
1
+version: '3.8'
2
+
3
+services:
4
+ clickhouse:
5
+ image: clickhouse/clickhouse-server:latest
6
+ container_name: tianji-clickhouse
7
+ ports:
8
+ - "127.0.0.1:8123:8123" # HTTP endpoint
9
+ # - "9000:9000" # Native endpoint
10
+ - "127.0.0.1:9004:9004" # Mysql endpoint
11
+ environment:
12
+ - CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT=1
13
+ - CLICKHOUSE_DB=tianji
14
+ - CLICKHOUSE_USER=tianji
15
+ # - CLICKHOUSE_PASSWORD=tianji
16
+ # volumes:
17
+ # - clickhouse_data:/var/lib/clickhouse
18
+ # - ./config.xml:/etc/clickhouse-server/config.xml
19
+ restart: unless-stopped
20
21
+# volumes:
22
+# clickhouse_data:
23
+# driver: local
24
+# clickhouse_config:
25
0 commit comments