chore: update format
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user