diff --git a/docker-compose/stellio.yml b/docker-compose/stellio.yml index bfa6e3b..99de01f 100644 --- a/docker-compose/stellio.yml +++ b/docker-compose/stellio.yml @@ -71,7 +71,7 @@ services: kafka: labels: org.fiware: 'tutorial' - image: confluentinc/cp-kafka:7.3.1 + image: confluentinc/cp-kafka:7.6.0 container_name: kafka ports: - 29092:29092 @@ -88,9 +88,7 @@ services: KAFKA_INTER_BROKER_LISTENER_NAME: 'PLAINTEXT' KAFKA_CONTROLLER_LISTENER_NAMES: 'CONTROLLER' KAFKA_LOG4J_ROOT_LOGLEVEL: INFO - volumes: - - ./stellio/kafka/update_run.sh:/tmp/update_run.sh - command: "bash -c 'if [ ! -f /tmp/update_run.sh ]; then echo \"ERROR: Did you forget the update_run.sh file that came with this docker-compose.yml file?\" && exit 1 ; else /tmp/update_run.sh && /etc/confluent/docker/run ; fi'" + CLUSTER_ID: YzQwZWIyMDZjMmNmMTFlZm # Databases @@ -98,7 +96,6 @@ services: labels: org.fiware: 'tutorial' image: stellio/stellio-timescale-postgis:${STELLIO_TIMESCALE_POSTGIS} - hostname: postgres container_name: db-postgres environment: diff --git a/docker-compose/stellio/kafka/update_run.sh b/docker-compose/stellio/kafka/update_run.sh deleted file mode 100755 index 18de790..0000000 --- a/docker-compose/stellio/kafka/update_run.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -# Docker workaround: Remove check for KAFKA_ZOOKEEPER_CONNECT parameter -sed -i '/KAFKA_ZOOKEEPER_CONNECT/d' /etc/confluent/docker/configure - -# Docker workaround: Ignore cub zk-ready -sed -i 's/cub zk-ready/echo ignore zk-ready/' /etc/confluent/docker/ensure - -# KRaft required step: Format the storage directory with a new cluster ID -echo "kafka-storage format --ignore-formatted -t $(kafka-storage random-uuid) -c /etc/kafka/kafka.properties" >> /etc/confluent/docker/ensure -