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