Skip to content

Commit 0b7d5d3

Browse files
committed
Use previous healthcheck
it did not work before because we did specify the .sh ending
1 parent 6b960eb commit 0b7d5d3

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

ci/docker-compose.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,18 +71,18 @@ services:
7171
KAFKA_NUM_PARTITIONS: 1
7272
KAFKA_TRANSACTION_STATE_LOG_MIN_ISR: 1
7373
KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: 1
74-
# healthcheck:
75-
# test: ["CMD", "bash", "-c", "kafka-topics.sh --bootstrap-server kafka:9093 --list || exit 1"]
76-
# interval: 10s
77-
# timeout: 10s
78-
# retries: 20
79-
# start_period: 10s
8074
healthcheck:
81-
test: ["CMD", "bash", "-c", "echo > /dev/tcp/kafka/9092"]
82-
interval: 5s
75+
test: ["CMD", "bash", "-c", "kafka-topics --bootstrap-server kafka:9093 --list || exit 1"]
76+
interval: 20s
8377
timeout: 10s
8478
retries: 40
8579
start_period: 5s
80+
# healthcheck:
81+
# test: ["CMD", "bash", "-c", "echo > /dev/tcp/kafka/9092"]
82+
# interval: 20s
83+
# timeout: 10s
84+
# retries: 40
85+
# start_period: 5s
8686

8787
networks:
8888
- basyx-java-server-sdk

0 commit comments

Comments
 (0)