ClickHouse/dbms/tests/integration_drafts/001_miltiple_disks/docker-compose.yml

53 lines
1.4 KiB
YAML
Raw Normal View History

2019-05-13 13:41:47 +00:00
version: '3'
services:
zookeeper:
image: zookeeper
networks:
- 001_miltiple_disks
ch1:
image: yandex/clickhouse-server
hostname: ch1
depends_on:
- "zookeeper"
networks:
- 001_miltiple_disks
tmpfs:
- /jbod1:size=40M
- /jbod2:size=40M
- /external:size=200M
volumes:
- ./config/conf.d:/etc/clickhouse-server/conf.d
- ./config/ch1.metrika.xml:/etc/metrika.xml
# TODO: hacky, but "cheap" - don't need to rebuild docker image.
# for CI & tests automation should be done another way, not relying on build path
- ../../../../build/dbms/programs/clickhouse:/usr/bin/clickhouse
- ./test_setup:/test_setup
entrypoint: ['/test_setup/entrypoint.sh']
ch2:
image: yandex/clickhouse-server
hostname: ch2
depends_on:
- "zookeeper"
networks:
- 001_miltiple_disks
tmpfs:
- /jbod1:size=40M
- /jbod2:size=40M
- /external:size=200M
volumes:
- ./config/conf.d:/etc/clickhouse-server/conf.d
- ./config/ch2.metrika.xml:/etc/metrika.xml
# TODO: hacky, but "cheap" - don't need to rebuild docker image.
# for CI & tests automation should be done another way, not relying on build path
- ../../../../build/dbms/programs/clickhouse:/usr/bin/clickhouse
- ./test_setup:/test_setup
entrypoint: ['/test_setup/entrypoint.sh']
networks:
001_miltiple_disks: