mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 19:02:04 +00:00
93 lines
3.2 KiB
YAML
93 lines
3.2 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_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
|
|
entrypoint: "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_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
|
|
entrypoint: "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_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
|
|
entrypoint: "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
|