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

@@ -34,11 +34,11 @@ services:
deploy:
resources:
limits:
cpus: '2.0'
memory: 2G
cpus: ${OPENSEARCH_CPU_LIMIT:-2.0}
memory: ${OPENSEARCH_MEMORY_LIMIT:-2G}
reservations:
cpus: '1.0'
memory: 1G
cpus: ${OPENSEARCH_CPU_RESERVATION:-1.0}
memory: ${OPENSEARCH_MEMORY_RESERVATION:-1G}
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:9200/_cluster/health || exit 1"]
interval: 30s
@@ -61,11 +61,11 @@ services:
deploy:
resources:
limits:
cpus: '1.0'
memory: 1G
cpus: ${OPENSEARCH_DASHBOARDS_CPU_LIMIT:-1.0}
memory: ${OPENSEARCH_DASHBOARDS_MEMORY_LIMIT:-1G}
reservations:
cpus: '0.5'
memory: 512M
cpus: ${OPENSEARCH_DASHBOARDS_CPU_RESERVATION:-0.5}
memory: ${OPENSEARCH_DASHBOARDS_MEMORY_RESERVATION:-512M}
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:5601/api/status"]
interval: 30s