Skip to content

Commit 6b960eb

Browse files
committed
Use previous health check
1 parent 22c4a81 commit 6b960eb

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

ci/docker-compose.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,19 @@ 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
7480
healthcheck:
75-
test: ["CMD", "bash", "-c", "kafka-topics.sh --bootstrap-server kafka:9093 --list || exit 1"]
76-
interval: 10s
81+
test: ["CMD", "bash", "-c", "echo > /dev/tcp/kafka/9092"]
82+
interval: 5s
7783
timeout: 10s
78-
retries: 7
79-
start_period: 10s
84+
retries: 40
85+
start_period: 5s
86+
8087
networks:
8188
- basyx-java-server-sdk
8289

0 commit comments

Comments
 (0)