From 9f2440e1cb94af7d01ce4925c793f84332198e5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Pi=C3=B1a?= Date: Tue, 16 Jul 2024 12:08:50 -0500 Subject: [PATCH] remove profile ksqldb --- docker-compose.yml | 5 +++-- md/cleanup.md | 2 +- md/what-is-ksqldb.md | 8 +------- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 5afa5c5..746f4d5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -107,6 +107,9 @@ services: connect: - name: kafka-connect url: http://kafka-connect:8083 + ksqldb: + - name: "ksqldb" + url: "http://ksqldb:8088" mysql: image: mysql:latest @@ -178,8 +181,6 @@ services: ksqldb: image: confluentinc/cp-ksqldb-server:${CONFLUENT_VERSION} - profiles: - - ksqldb environment: KSQL_KSQL_SERVICE_ID: ksqldb. KSQL_LISTENERS: http://0.0.0.0:8088 diff --git a/md/cleanup.md b/md/cleanup.md index 533b393..af0c17e 100644 --- a/md/cleanup.md +++ b/md/cleanup.md @@ -3,7 +3,7 @@ Shutting down all services: ```bash -docker compose --profile proxies --profile sql --profile mqtt --profile ksqldb down +docker compose --profile proxies --profile sql --profile mqtt down ``` > [!TIP] diff --git a/md/what-is-ksqldb.md b/md/what-is-ksqldb.md index ab1bcc7..a0934a0 100644 --- a/md/what-is-ksqldb.md +++ b/md/what-is-ksqldb.md @@ -10,13 +10,7 @@ ksqlDB it is not a SQL database, it provides an extra layer for implementing kst ### Run ksqlDB -Start ksqldb: - -```bash -docker compose --profile ksqldb up -d -``` - -After a few seconds check if it is up: +Check if it's up: ```bash http ksqldb:8088/info