Write docker-compose.yml like below Install Elasticsearch and Kibana
For installation with docker-compose, refer to here
doccker-compose.yml
version: "3.3"
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.8.1
environment:
- discovery.type=single-node
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- "TZ=Asia/Tokyo"
ulimits:
memlock:
soft: -1
hard: -1
ports:
- 9201:9200
volumes:
- es-data:/usr/share/elasticsearch/data
kibana:
image: docker.elastic.co/kibana/kibana:7.8.1
ports:
- 5602:5601
environment:
- ELASTICSEARCH_URL=http://elasticsearch:9201
- "TZ=Asia/Tokyo"
- i18n.locale: ja-JP #Localizing into Japanese
volumes:
es-data:
driver: local
Since the current time is off by 9 hours and the overall display time is incorrect,
In Management> Slack Management> Advanced Settings Change Timezone for date formatting to Japan
Recommended Posts