Elasticsearch
検索エンジン
docker-composeで立ち上げる方法
code:docker-compose.yml
version: '3.7'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.12.0
ports:
- 9200:9200
environment:
discovery.type: single-node
volumes:
- elasticsearch:/usr/share/elasticsearch/data
restart: unless-stopped
volumes:
elasticsearch:
driver: local