style: lint code
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user