mirror of
https://github.com/hanzo-ds/driver.git
synced 2026-10-30 20:32:40 +00:00
Co-authored-by: Sergey Gorbunov <[email protected]> Co-authored-by: Konstantin Lebedev <[email protected]>
22 lines
740 B
YAML
22 lines
740 B
YAML
version: '3'
|
|
|
|
services:
|
|
clickhouse-server:
|
|
image: "$ORG/clickhouse-server:$CLICKHOUSE_VERSION"
|
|
container_name: test-clickhouse-server
|
|
environment:
|
|
- TZ=Europe/Moscow
|
|
ports:
|
|
- "127.0.0.1:9000:9000"
|
|
- "127.0.0.1:9440:9440"
|
|
volumes:
|
|
- "./clickhouse_server_config/$TOP_LEVEL.xml:/etc/clickhouse-server/config.d/test_config.xml"
|
|
- "./clickhouse_server_config/${TOP_LEVEL}_users.xml:/etc/clickhouse-server/users.d/test_users.xml"
|
|
- "./clickhouse_server_config/certs:/etc/clickhouse-server/certs"
|
|
|
|
clickhouse-client:
|
|
image: "$ORG/clickhouse-server:$CLICKHOUSE_VERSION"
|
|
container_name: test-clickhouse-client
|
|
entrypoint: /bin/sh
|
|
command: [-c, 'while :; do sleep 1; done']
|