frcrawler-scripts/dev/docker-compose.yml
Gaël Berthaud-Müller 38679a009a add all files
2024-03-06 14:49:11 +01:00

63 lines
1.5 KiB
YAML

version: '3.8'
services:
zookeeper:
image: zookeeper:3.8
hostname: zk01
ports:
- "2181:2181"
clickhouse1:
image: clickhouse/clickhouse-server:24.1
environment:
- CLICKHOUSE_USER=test
- CLICKHOUSE_PASSWORD=test
- CLICKHOUSE_DB=test
- CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT=1
ports:
- "8124:8123"
- "9001:9000"
- "9011:9005"
hostname: ch01
volumes:
- ./config/ch01.d:/etc/clickhouse-server/config.d
- ./config/dictionaries:/etc/clickhouse-server/dictionaries
- ./config/dict.config.d:/etc/clickhouse-server/dict.config.d
- ./config/init:/docker-entrypoint-initdb.d
depends_on:
- "zookeeper"
clickhouse2:
image: clickhouse/clickhouse-server:24.1
environment:
- CLICKHOUSE_USER=test
- CLICKHOUSE_PASSWORD=test
- CLICKHOUSE_DB=test
- CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT=1
ports:
- "8125:8123"
- "9002:9000"
- "9012:9005"
hostname: ch02
volumes:
- ./config/ch02.d:/etc/clickhouse-server/config.d
- ./config/dictionaries:/etc/clickhouse-server/dictionaries
- ./config/dict.config.d:/etc/clickhouse-server/dict.config.d
- ./config/init:/docker-entrypoint-initdb.d
depends_on:
- "zookeeper"
messaging:
image: redis
ports:
- "6379:6379"
dns-resolver:
image: alpinelinux/unbound
entrypoint: ["unbound", "-d", "-c", "/config/unbound.conf"]
volumes:
- ./config/unbound:/config
ports:
- "5300:5300/udp"
- "5300:5300/tcp"