2021-05-14 12:30:49 +00:00
|
|
|
services:
|
|
|
|
zoo1:
|
2021-09-06 11:33:39 +00:00
|
|
|
image: ${image:-clickhouse/integration-test}
|
2021-05-14 12:30:49 +00:00
|
|
|
restart: always
|
|
|
|
user: ${user:-}
|
|
|
|
volumes:
|
|
|
|
- type: bind
|
|
|
|
source: ${keeper_binary:-}
|
|
|
|
target: /usr/bin/clickhouse
|
2022-09-09 14:39:06 +00:00
|
|
|
- type: bind
|
|
|
|
source: ${keeper_binary:-}
|
|
|
|
target: /usr/bin/clickhouse-keeper
|
2021-05-14 12:30:49 +00:00
|
|
|
- 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:-}
|
2021-05-18 14:08:56 +00:00
|
|
|
target: /var/lib/clickhouse-keeper
|
2023-08-17 11:10:35 +00:00
|
|
|
- type: ${keeper_fs:-tmpfs}
|
|
|
|
source: ${keeper_db_dir1:-}
|
|
|
|
target: /var/lib/clickhouse
|
2022-04-25 19:16:02 +00:00
|
|
|
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"
|
2021-05-14 12:30:49 +00:00
|
|
|
cap_add:
|
|
|
|
- SYS_PTRACE
|
|
|
|
- NET_ADMIN
|
|
|
|
- IPC_LOCK
|
|
|
|
- SYS_NICE
|
|
|
|
security_opt:
|
|
|
|
- label:disable
|
|
|
|
dns_opt:
|
|
|
|
- attempts:2
|
|
|
|
- timeout:1
|
|
|
|
- inet6
|
|
|
|
- rotate
|
|
|
|
zoo2:
|
2021-09-06 11:33:39 +00:00
|
|
|
image: ${image:-clickhouse/integration-test}
|
2021-05-14 12:30:49 +00:00
|
|
|
restart: always
|
|
|
|
user: ${user:-}
|
|
|
|
volumes:
|
|
|
|
- type: bind
|
|
|
|
source: ${keeper_binary:-}
|
|
|
|
target: /usr/bin/clickhouse
|
2022-09-09 14:39:06 +00:00
|
|
|
- type: bind
|
|
|
|
source: ${keeper_binary:-}
|
|
|
|
target: /usr/bin/clickhouse-keeper
|
2021-05-14 12:30:49 +00:00
|
|
|
- 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:-}
|
2021-05-18 14:08:56 +00:00
|
|
|
target: /var/lib/clickhouse-keeper
|
2023-08-17 11:10:35 +00:00
|
|
|
- type: ${keeper_fs:-tmpfs}
|
|
|
|
source: ${keeper_db_dir1:-}
|
|
|
|
target: /var/lib/clickhouse
|
2022-04-25 19:16:02 +00:00
|
|
|
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"
|
2021-05-14 12:30:49 +00:00
|
|
|
cap_add:
|
|
|
|
- SYS_PTRACE
|
|
|
|
- NET_ADMIN
|
|
|
|
- IPC_LOCK
|
|
|
|
- SYS_NICE
|
|
|
|
security_opt:
|
|
|
|
- label:disable
|
|
|
|
dns_opt:
|
|
|
|
- attempts:2
|
|
|
|
- timeout:1
|
|
|
|
- inet6
|
|
|
|
- rotate
|
|
|
|
zoo3:
|
2021-09-06 11:33:39 +00:00
|
|
|
image: ${image:-clickhouse/integration-test}
|
2021-05-14 12:30:49 +00:00
|
|
|
restart: always
|
|
|
|
user: ${user:-}
|
|
|
|
volumes:
|
|
|
|
- type: bind
|
|
|
|
source: ${keeper_binary:-}
|
|
|
|
target: /usr/bin/clickhouse
|
2022-09-09 14:39:06 +00:00
|
|
|
- type: bind
|
|
|
|
source: ${keeper_binary:-}
|
|
|
|
target: /usr/bin/clickhouse-keeper
|
2021-05-14 12:30:49 +00:00
|
|
|
- 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:-}
|
2021-05-18 14:08:56 +00:00
|
|
|
target: /var/lib/clickhouse-keeper
|
2023-08-17 11:10:35 +00:00
|
|
|
- type: ${keeper_fs:-tmpfs}
|
|
|
|
source: ${keeper_db_dir1:-}
|
|
|
|
target: /var/lib/clickhouse
|
2022-04-25 19:16:02 +00:00
|
|
|
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"
|
2021-05-14 12:30:49 +00:00
|
|
|
cap_add:
|
|
|
|
- SYS_PTRACE
|
|
|
|
- NET_ADMIN
|
|
|
|
- IPC_LOCK
|
|
|
|
- SYS_NICE
|
|
|
|
security_opt:
|
|
|
|
- label:disable
|
|
|
|
dns_opt:
|
|
|
|
- attempts:2
|
|
|
|
- timeout:1
|
|
|
|
- inet6
|
|
|
|
- rotate
|