update compose

This commit is contained in:
dzj 2023-11-29 07:43:20 +08:00
parent bb40e98938
commit ae178da88f
2 changed files with 13 additions and 2 deletions

View File

@ -24,6 +24,8 @@ services:
interval: 5s
timeout: 10s
retries: 8
labels:
org.springframework.boot.readiness-check.tcp.disable: true
redis:
image: redis:latest
@ -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:

View File

@ -24,3 +24,5 @@ https://dns.console.aliyun.com/
#阿里云SSL设置
https://yundun.console.aliyun.com/?spm=0.2020520154.top-nav.4.1f88NZsJNZsJrP&p=cas#/overview/cn-hangzhou
TcpConnectServiceReadinessCheck