mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 19:32:07 +00:00
da28eaf454
#ci_set_integration
111 lines
4.0 KiB
YAML
111 lines
4.0 KiB
YAML
version: '2.3'
|
|
services:
|
|
zoo1:
|
|
image: ${image:-clickhouse/integration-test}
|
|
restart: always
|
|
user: ${user:-}
|
|
volumes:
|
|
- type: bind
|
|
source: ${keeper_binary:-}
|
|
target: /usr/bin/clickhouse
|
|
- type: bind
|
|
source: ${keeper_binary:-}
|
|
target: /usr/bin/clickhouse-keeper
|
|
- type: bind
|
|
source: ${keeper_config_dir1:-}
|
|
target: /etc/clickhouse-keeper
|
|
- type: bind
|
|
source: ${keeper_logs_dir1:-}
|
|
target: /var/log/clickhouse-keeper
|
|
- type: ${keeper_fs:-tmpfs}
|
|
source: ${keeper_db_dir1:-}
|
|
target: /var/lib/clickhouse-keeper
|
|
- type: ${keeper_fs:-tmpfs}
|
|
source: ${keeper_db_dir1:-}
|
|
target: /var/lib/clickhouse
|
|
entrypoint: "${keeper_cmd_prefix:-clickhouse keeper} --config=/etc/clickhouse-keeper/keeper_config1.xml --log-file=/var/log/clickhouse-keeper/clickhouse-keeper.log --errorlog-file=/var/log/clickhouse-keeper/clickhouse-keeper.err.log"
|
|
cap_add:
|
|
- SYS_PTRACE
|
|
- NET_ADMIN
|
|
- IPC_LOCK
|
|
- SYS_NICE
|
|
security_opt:
|
|
- label:disable
|
|
dns_opt:
|
|
- attempts:2
|
|
- timeout:1
|
|
- inet6
|
|
- rotate
|
|
zoo2:
|
|
image: ${image:-clickhouse/integration-test}
|
|
restart: always
|
|
user: ${user:-}
|
|
volumes:
|
|
- type: bind
|
|
source: ${keeper_binary:-}
|
|
target: /usr/bin/clickhouse
|
|
- type: bind
|
|
source: ${keeper_binary:-}
|
|
target: /usr/bin/clickhouse-keeper
|
|
- type: bind
|
|
source: ${keeper_config_dir2:-}
|
|
target: /etc/clickhouse-keeper
|
|
- type: bind
|
|
source: ${keeper_logs_dir2:-}
|
|
target: /var/log/clickhouse-keeper
|
|
- type: ${keeper_fs:-tmpfs}
|
|
source: ${keeper_db_dir2:-}
|
|
target: /var/lib/clickhouse-keeper
|
|
- type: ${keeper_fs:-tmpfs}
|
|
source: ${keeper_db_dir1:-}
|
|
target: /var/lib/clickhouse
|
|
entrypoint: "${keeper_cmd_prefix:-clickhouse keeper} --config=/etc/clickhouse-keeper/keeper_config2.xml --log-file=/var/log/clickhouse-keeper/clickhouse-keeper.log --errorlog-file=/var/log/clickhouse-keeper/clickhouse-keeper.err.log"
|
|
cap_add:
|
|
- SYS_PTRACE
|
|
- NET_ADMIN
|
|
- IPC_LOCK
|
|
- SYS_NICE
|
|
security_opt:
|
|
- label:disable
|
|
dns_opt:
|
|
- attempts:2
|
|
- timeout:1
|
|
- inet6
|
|
- rotate
|
|
zoo3:
|
|
image: ${image:-clickhouse/integration-test}
|
|
restart: always
|
|
user: ${user:-}
|
|
volumes:
|
|
- type: bind
|
|
source: ${keeper_binary:-}
|
|
target: /usr/bin/clickhouse
|
|
- type: bind
|
|
source: ${keeper_binary:-}
|
|
target: /usr/bin/clickhouse-keeper
|
|
- type: bind
|
|
source: ${keeper_config_dir3:-}
|
|
target: /etc/clickhouse-keeper
|
|
- type: bind
|
|
source: ${keeper_logs_dir3:-}
|
|
target: /var/log/clickhouse-keeper
|
|
- type: ${keeper_fs:-tmpfs}
|
|
source: ${keeper_db_dir3:-}
|
|
target: /var/lib/clickhouse-keeper
|
|
- type: ${keeper_fs:-tmpfs}
|
|
source: ${keeper_db_dir1:-}
|
|
target: /var/lib/clickhouse
|
|
entrypoint: "${keeper_cmd_prefix:-clickhouse keeper} --config=/etc/clickhouse-keeper/keeper_config3.xml --log-file=/var/log/clickhouse-keeper/clickhouse-keeper.log --errorlog-file=/var/log/clickhouse-keeper/clickhouse-keeper.err.log"
|
|
cap_add:
|
|
- SYS_PTRACE
|
|
- NET_ADMIN
|
|
- IPC_LOCK
|
|
- SYS_NICE
|
|
security_opt:
|
|
- label:disable
|
|
dns_opt:
|
|
- attempts:2
|
|
- timeout:1
|
|
- inet6
|
|
- rotate
|