style: lint code

This commit is contained in:
Sun-ZhenXing
2026-02-23 17:41:05 +08:00
parent ced072de66
commit 7e14b01b78
240 changed files with 4301 additions and 1539 deletions
+2 -2
View File
@@ -45,8 +45,8 @@ Uncomment the configuration volume in `docker-compose.yaml` and create `kibana.y
```yaml
server.name: kibana
server.host: "0.0.0.0"
elasticsearch.hosts: ["http://elasticsearch:9200"]
server.host: 0.0.0.0
elasticsearch.hosts: ['http://elasticsearch:9200']
monitoring.ui.container.elasticsearch.enabled: true
```
+2 -2
View File
@@ -45,8 +45,8 @@ Kibana 需要运行 Elasticsearch。确保 Elasticsearch 在配置的 `ELASTICSE
```yaml
server.name: kibana
server.host: "0.0.0.0"
elasticsearch.hosts: ["http://elasticsearch:9200"]
server.host: 0.0.0.0
elasticsearch.hosts: ['http://elasticsearch:9200']
monitoring.ui.container.elasticsearch.enabled: true
```
+3 -3
View File
@@ -4,14 +4,14 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
kibana:
<<: *defaults
image: ${GLOBAL_REGISTRY:-}docker.elastic.co/kibana/kibana:${KIBANA_VERSION:-9.2.0}
ports:
- "${KIBANA_PORT_OVERRIDE:-5601}:5601"
- '${KIBANA_PORT_OVERRIDE:-5601}:5601'
volumes:
- kibana_data:/usr/share/kibana/data
@@ -35,7 +35,7 @@ services:
cpus: ${KIBANA_CPU_RESERVATION:-0.25}
memory: ${KIBANA_MEMORY_RESERVATION:-512M}
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:5601/api/status || exit 1"]
test: [CMD-SHELL, 'curl -f http://localhost:5601/api/status || exit 1']
interval: 30s
timeout: 10s
retries: 5