generated from tconbeer/harlequin-adapter-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
24 lines (24 loc) · 897 Bytes
/
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
version: '3.8'
services:
clickhouse:
image: 'clickhouse/clickhouse-server:${CHVER:-latest}'
user: '101:101'
container_name: clickhouse
hostname: clickhouse
volumes:
- ${PWD}/fs/volumes/clickhouse/etc/clickhouse-server/config.d/config.xml:/etc/clickhouse-server/config.d/config.xml
- ${PWD}/fs/volumes/clickhouse/etc/clickhouse-server/users.d/users.xml:/etc/clickhouse-server/users.d/users.xml
ports:
- '127.0.0.1:8123:8123'
- '127.0.0.1:9000:9000'
depends_on:
- clickhouse-keeper
clickhouse-keeper:
image: 'clickhouse/clickhouse-keeper:${CHKVER:-latest-alpine}'
user: '101:101'
container_name: clickhouse-keeper
hostname: clickhouse-keeper
volumes:
- ${PWD}/fs/volumes/clickhouse-keeper/etc/clickhouse-keeper/keeper_config.xml:/etc/clickhouse-keeper/keeper_config.xml
ports:
- '127.0.0.1:9181:9181'