Skip to content

Commit

Permalink
DEVX-1192 Updates the cp-all-in-one docker-compose files to use confi…
Browse files Browse the repository at this point in the history
…g.env (confluentinc#498)
  • Loading branch information
rspurgeon authored Mar 27, 2020
1 parent 24feb95 commit 2c9ab27
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 21 deletions.
1 change: 1 addition & 0 deletions cp-all-in-one-cloud/.env
10 changes: 5 additions & 5 deletions cp-all-in-one-cloud/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '2'
services:

schema-registry:
image: confluentinc/cp-schema-registry:5.4.1
image: ${REPOSITORY}/cp-schema-registry:${TAG}
hostname: schema-registry
container_name: schema-registry
ports:
Expand All @@ -18,7 +18,7 @@ services:
SCHEMA_REGISTRY_KAFKASTORE_SASL_MECHANISM: "PLAIN"

ksql-server:
image: confluentinc/cp-ksql-server:5.4.1
image: ${REPOSITORY}/cp-ksql-server:${TAG}
hostname: ksql-server
container_name: ksql-server
ports:
Expand Down Expand Up @@ -60,13 +60,13 @@ services:
KSQL_KSQL_CONNECT_URL: "http://connect:8083"

ksql-cli:
image: confluentinc/cp-ksql-cli:5.4.1
image: ${REPOSITORY}/cp-ksql-cli:${TAG}
container_name: ksql-cli
entrypoint: /bin/sh
tty: true

control-center:
image: confluentinc/cp-enterprise-control-center:5.4.1
image: ${REPOSITORY}/cp-enterprise-control-center:${TAG}
hostname: control-center
container_name: control-center
depends_on:
Expand Down Expand Up @@ -155,7 +155,7 @@ services:
CONNECT_CONSUMER_CONFLUENT_MONITORING_INTERCEPTOR_SASL_MECHANISM: PLAIN

rest-proxy:
image: confluentinc/cp-kafka-rest:5.4.1
image: ${REPOSITORY}/cp-kafka-rest:${TAG}
depends_on:
- schema-registry
ports:
Expand Down
1 change: 1 addition & 0 deletions cp-all-in-one-community/.env
14 changes: 7 additions & 7 deletions cp-all-in-one-community/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
version: '2'
services:
zookeeper:
image: confluentinc/cp-zookeeper:5.4.1
image: ${REPOSITORY}/cp-zookeeper:${TAG}
hostname: zookeeper
container_name: zookeeper
ports:
Expand All @@ -12,7 +12,7 @@ services:
ZOOKEEPER_TICK_TIME: 2000

broker:
image: confluentinc/cp-kafka:5.4.1
image: ${REPOSITORY}/cp-kafka:${TAG}
hostname: broker
container_name: broker
depends_on:
Expand All @@ -29,7 +29,7 @@ services:
KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS: 0

schema-registry:
image: confluentinc/cp-schema-registry:5.4.1
image: ${REPOSITORY}/cp-schema-registry:${TAG}
hostname: schema-registry
container_name: schema-registry
depends_on:
Expand Down Expand Up @@ -73,7 +73,7 @@ services:
CONNECT_LOG4J_LOGGERS: org.apache.zookeeper=ERROR,org.I0Itec.zkclient=ERROR,org.reflections=ERROR

ksql-server:
image: confluentinc/cp-ksql-server:5.4.1
image: ${REPOSITORY}/cp-ksql-server:${TAG}
hostname: ksql-server
container_name: ksql-server
depends_on:
Expand All @@ -94,7 +94,7 @@ services:
KSQL_KSQL_CONNECT_URL: "http://connect:8083"

ksql-cli:
image: confluentinc/cp-ksql-cli:5.4.1
image: ${REPOSITORY}/cp-ksql-cli:${TAG}
container_name: ksql-cli
depends_on:
- broker
Expand All @@ -105,7 +105,7 @@ services:

ksql-datagen:
# Downrev ksql-examples to 5.1.2 due to DEVX-798 (work around issues in 5.2.0)
image: confluentinc/ksql-examples:5.4.1
image: ${REPOSITORY}/ksql-examples:${TAG}
hostname: ksql-datagen
container_name: ksql-datagen
depends_on:
Expand All @@ -128,7 +128,7 @@ services:
STREAMS_SCHEMA_REGISTRY_PORT: 8081

rest-proxy:
image: confluentinc/cp-kafka-rest:5.4.1
image: ${REPOSITORY}/cp-kafka-rest:${TAG}
depends_on:
- zookeeper
- broker
Expand Down
1 change: 1 addition & 0 deletions cp-all-in-one/.env
17 changes: 8 additions & 9 deletions cp-all-in-one/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
version: '2'
services:
zookeeper:
image: confluentinc/cp-zookeeper:5.4.1
image: ${REPOSITORY}/cp-zookeeper:${TAG}
hostname: zookeeper
container_name: zookeeper
ports:
Expand All @@ -12,7 +12,7 @@ services:
ZOOKEEPER_TICK_TIME: 2000

broker:
image: confluentinc/cp-server:5.4.1
image: ${REPOSITORY}/cp-server:${TAG}
hostname: broker
container_name: broker
depends_on:
Expand All @@ -35,7 +35,7 @@ services:
CONFLUENT_SUPPORT_CUSTOMER_ID: 'anonymous'

schema-registry:
image: confluentinc/cp-schema-registry:5.4.1
image: ${REPOSITORY}/cp-schema-registry:${TAG}
hostname: schema-registry
container_name: schema-registry
depends_on:
Expand Down Expand Up @@ -83,7 +83,7 @@ services:
CONNECT_LOG4J_LOGGERS: org.apache.zookeeper=ERROR,org.I0Itec.zkclient=ERROR,org.reflections=ERROR

control-center:
image: confluentinc/cp-enterprise-control-center:5.4.1
image: ${REPOSITORY}/cp-enterprise-control-center:${TAG}
hostname: control-center
container_name: control-center
depends_on:
Expand All @@ -108,7 +108,7 @@ services:
PORT: 9021

ksql-server:
image: confluentinc/cp-ksql-server:5.4.1
image: ${REPOSITORY}/cp-ksql-server:${TAG}
hostname: ksql-server
container_name: ksql-server
depends_on:
Expand All @@ -129,7 +129,7 @@ services:
KSQL_KSQL_CONNECT_URL: "http://connect:8083"

ksql-cli:
image: confluentinc/cp-ksql-cli:5.4.1
image: ${REPOSITORY}/cp-ksql-cli:${TAG}
container_name: ksql-cli
depends_on:
- broker
Expand All @@ -139,8 +139,7 @@ services:
tty: true

ksql-datagen:
# Downrev ksql-examples to 5.1.2 due to DEVX-798 (work around issues in 5.2.0)
image: confluentinc/ksql-examples:5.4.1
image: ${REPOSITORY}/ksql-examples:${TAG}
hostname: ksql-datagen
container_name: ksql-datagen
depends_on:
Expand All @@ -163,7 +162,7 @@ services:
STREAMS_SCHEMA_REGISTRY_PORT: 8081

rest-proxy:
image: confluentinc/cp-kafka-rest:5.4.1
image: ${REPOSITORY}/cp-kafka-rest:${TAG}
depends_on:
- zookeeper
- broker
Expand Down

0 comments on commit 2c9ab27

Please sign in to comment.