mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-30 21:10:07 +00:00
36 lines
699 B
YAML
36 lines
699 B
YAML
---
|
|
version: '3.8'
|
|
services:
|
|
zookeeper:
|
|
image: confluentinc/cp-zookeeper:7.2.0
|
|
env_file: zookeeper.env
|
|
hostname: test_zookeeper
|
|
ports:
|
|
- "52181"
|
|
volumes:
|
|
- test_zkdata:/var/opt/zookeeper
|
|
|
|
broker:
|
|
image: confluentinc/cp-kafka:7.2.0
|
|
env_file: broker.env
|
|
hostname: test_broker
|
|
container_name: test_broker
|
|
depends_on:
|
|
- zookeeper
|
|
ports:
|
|
- "29092:29092"
|
|
|
|
schema-registry:
|
|
image: confluentinc/cp-schema-registry:7.2.0
|
|
restart: unless-stopped
|
|
env_file: schema-registry.env
|
|
container_name: test_schema_registry
|
|
depends_on:
|
|
- zookeeper
|
|
- broker
|
|
ports:
|
|
- "28081:8081"
|
|
|
|
volumes:
|
|
test_zkdata:
|