diff --git a/compose-dev.yml b/compose-dev.yml index 55b17ed..6c83023 100644 --- a/compose-dev.yml +++ b/compose-dev.yml @@ -24,7 +24,9 @@ services: interval: 5s timeout: 10s retries: 8 - + labels: + org.springframework.boot.readiness-check.tcp.disable: true + redis: image: redis:latest container_name: redis01 @@ -38,6 +40,8 @@ services: command: redis-server --requirepass "12345678" volumes: - d:/docker-data/redis:/data + labels: + org.springframework.boot.readiness-check.tcp.disable: true consul: image: docker.io/bitnami/consul:latest @@ -56,6 +60,8 @@ services: - '8500:8500' volumes: - d:/docker-data/consul:/bitnami/consul + labels: + org.springframework.boot.readiness-check.tcp.disable: true elasticsearch: image: elasticsearch:8.11.0 @@ -75,6 +81,7 @@ services: - xpack.security.enabled=false labels: org.springframework.boot.service-connection: elasticsearch + org.springframework.boot.readiness-check.tcp.disable: true kafka: image: bitnami/kafka:latest @@ -97,6 +104,8 @@ services: - KAFKA_CFG_CONTROLLER_QUORUM_VOTERS=0@kafka:9093 volumes: - d:/docker-data/kafka:/bitnami/kafka + labels: + org.springframework.boot.readiness-check.tcp.disable: true networks: y9-share-net: diff --git a/readme.txt b/readme.txt index ca3a10f..6e44507 100644 --- a/readme.txt +++ b/readme.txt @@ -23,4 +23,6 @@ C:\workspace\y9-digitalbase-v9.7.x\y9-digitalbase\docker https://dns.console.aliyun.com/ #阿里云SSL设置 -https://yundun.console.aliyun.com/?spm=0.2020520154.top-nav.4.1f88NZsJNZsJrP&p=cas#/overview/cn-hangzhou \ No newline at end of file +https://yundun.console.aliyun.com/?spm=0.2020520154.top-nav.4.1f88NZsJNZsJrP&p=cas#/overview/cn-hangzhou + +TcpConnectServiceReadinessCheck \ No newline at end of file