2020-07-21 17:51:02 +00:00
|
|
|
version: '2.3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
clickhouse:
|
2021-09-08 10:06:03 +00:00
|
|
|
image: clickhouse/integration-test
|
2022-02-11 01:08:41 +00:00
|
|
|
init: true
|
2020-07-21 17:51:02 +00:00
|
|
|
expose:
|
|
|
|
- "9000"
|
|
|
|
- "9009"
|
|
|
|
- "8123"
|
|
|
|
volumes:
|
|
|
|
- "${CLICKHOUSE_TESTS_DIR}/configs/clickhouse/config.d:/etc/clickhouse-server/config.d"
|
2020-07-21 18:40:43 +00:00
|
|
|
- "${CLICKHOUSE_TESTS_DIR}/configs/clickhouse/users.d:/etc/clickhouse-server/users.d"
|
2020-07-21 17:51:02 +00:00
|
|
|
- "${CLICKHOUSE_TESTS_DIR}/configs/clickhouse/ssl:/etc/clickhouse-server/ssl"
|
|
|
|
- "${CLICKHOUSE_TESTS_DIR}/configs/clickhouse/config.xml:/etc/clickhouse-server/config.xml"
|
|
|
|
- "${CLICKHOUSE_TESTS_DIR}/configs/clickhouse/users.xml:/etc/clickhouse-server/users.xml"
|
|
|
|
- "${CLICKHOUSE_TESTS_SERVER_BIN_PATH:-/usr/bin/clickhouse}:/usr/bin/clickhouse"
|
|
|
|
- "${CLICKHOUSE_TESTS_ODBC_BRIDGE_BIN_PATH:-/usr/bin/clickhouse-odbc-bridge}:/usr/bin/clickhouse-odbc-bridge"
|
2022-02-11 01:08:41 +00:00
|
|
|
entrypoint: bash -c "tail -f /dev/null"
|
2020-07-21 17:51:02 +00:00
|
|
|
healthcheck:
|
2022-02-11 01:08:41 +00:00
|
|
|
test: echo 1
|
2020-08-15 23:52:27 +00:00
|
|
|
interval: 10s
|
|
|
|
timeout: 10s
|
2021-03-01 16:29:42 +00:00
|
|
|
retries: 3
|
2020-08-15 23:52:27 +00:00
|
|
|
start_period: 300s
|
2020-07-21 17:51:02 +00:00
|
|
|
cap_add:
|
|
|
|
- SYS_PTRACE
|
|
|
|
security_opt:
|
|
|
|
- label:disable
|