Skip to content

Commit

Permalink
Merge pull request #73 from Bouncheck/skip-unnecessary-containers
Browse files Browse the repository at this point in the history
Skip unnecessary docker containers creation.
  • Loading branch information
dkropachev authored Aug 1, 2024
2 parents 7d49d3d + 7355d4a commit fd96fee
Showing 1 changed file with 28 additions and 27 deletions.
55 changes: 28 additions & 27 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,34 @@

version: "2"
services:
zookeeper:
image: confluentinc/cp-zookeeper:3.2.2
environment:
ZOOKEEPER_CLIENT_PORT: "2181"
zk_id: "1"
ports:
- "2181:2181"
kafka:
hostname: kafka
image: confluentinc/cp-kafka:3.2.2
links:
- zookeeper
ports:
- "9092:9092"
environment:
KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181"
KAFKA_ADVERTISED_LISTENERS: "PLAINTEXT://:9092"
schema-registry:
image: confluentinc/cp-schema-registry:3.2.2
links:
- kafka
- zookeeper
ports:
- "8081:8081"
environment:
SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL: "zookeeper:2181"
SCHEMA_REGISTRY_HOST_NAME: "schema-registry"
# for future e2e testing
# zookeeper:
# image: confluentinc/cp-zookeeper:3.2.2
# environment:
# ZOOKEEPER_CLIENT_PORT: "2181"
# zk_id: "1"
# ports:
# - "2181:2181"
# kafka:
# hostname: kafka
# image: confluentinc/cp-kafka:3.2.2
# links:
# - zookeeper
# ports:
# - "9092:9092"
# environment:
# KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181"
# KAFKA_ADVERTISED_LISTENERS: "PLAINTEXT://:9092"
# schema-registry:
# image: confluentinc/cp-schema-registry:3.2.2
# links:
# - kafka
# - zookeeper
# ports:
# - "8081:8081"
# environment:
# SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL: "zookeeper:2181"
# SCHEMA_REGISTRY_HOST_NAME: "schema-registry"
scylladb:
image: scylladb/scylla
hostname: scylladb/scylla
Expand Down

0 comments on commit fd96fee

Please sign in to comment.