mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 20:12:02 +00:00
31 lines
654 B
YAML
31 lines
654 B
YAML
version: "2"
|
|
|
|
services:
|
|
clickhouse-server:
|
|
image: ${CLICKHOUSE_SERVER_IMAGE}
|
|
expose:
|
|
- "8123"
|
|
- "9000"
|
|
- "9009"
|
|
restart: "no"
|
|
|
|
test-runner:
|
|
image: yandex/clickhouse-statelest-test-runner:local
|
|
|
|
restart: "no"
|
|
depends_on:
|
|
- clickhouse-server
|
|
environment:
|
|
# these are used by clickhouse-test to point clickhouse-client to the right server
|
|
- CLICKHOUSE_HOST=clickhouse-server
|
|
- CLICKHOUSE_PORT=8123
|
|
|
|
entrypoint:
|
|
- wait-for-it
|
|
- clickhouse-server:8123
|
|
- --
|
|
- clickhouse-test
|
|
# - -c
|
|
# - `which clickhouse-client`
|
|
- ${CLICKHOUSE_TEST_ARGS}
|