chore: update format

This commit is contained in:
Sun-ZhenXing
2025-11-10 19:55:44 +08:00
parent febd1601a2
commit 42aa5c40d6
92 changed files with 660 additions and 613 deletions

View File

@@ -28,11 +28,11 @@ services:
deploy:
resources:
limits:
cpus: '1.00'
memory: 1G
cpus: ${ZOOKEEPER_CPU_LIMIT:-1.00}
memory: ${ZOOKEEPER_MEMORY_LIMIT:-1G}
reservations:
cpus: '0.25'
memory: 256M
cpus: ${ZOOKEEPER_CPU_RESERVATION:-0.25}
memory: ${ZOOKEEPER_MEMORY_RESERVATION:-256M}
healthcheck:
test: ["CMD-SHELL", "echo ruok | nc localhost 2181 | grep imok"]
interval: 30s
@@ -76,11 +76,11 @@ services:
deploy:
resources:
limits:
cpus: '2.00'
memory: 2G
cpus: ${KAFKA_CPU_LIMIT:-2.00}
memory: ${KAFKA_MEMORY_LIMIT:-2G}
reservations:
cpus: '0.50'
memory: 1G
cpus: ${KAFKA_CPU_RESERVATION:-0.50}
memory: ${KAFKA_MEMORY_RESERVATION:-1G}
healthcheck:
test: ["CMD-SHELL", "kafka-broker-api-versions --bootstrap-server localhost:9092"]
interval: 30s
@@ -108,11 +108,11 @@ services:
deploy:
resources:
limits:
cpus: '0.50'
memory: 512M
cpus: ${KAFKA_UI_CPU_LIMIT:-0.50}
memory: ${KAFKA_UI_MEMORY_LIMIT:-512M}
reservations:
cpus: '0.10'
memory: 128M
cpus: ${KAFKA_UI_CPU_RESERVATION:-0.10}
memory: ${KAFKA_UI_MEMORY_RESERVATION:-128M}
profiles:
- ui