22 lines
472 B
YAML
22 lines
472 B
YAML
name: es
|
|
|
|
services:
|
|
|
|
elasticsearch:
|
|
image: docker.elastic.co/elasticsearch/elasticsearch:9.1.3
|
|
ports:
|
|
- "9200:9200"
|
|
- "9300:9300"
|
|
environment:
|
|
ES_JAVA_OPTS: "-Xms2g -Xmx2g"
|
|
ELASTIC_PASSWORD: "password"
|
|
http.cors.enabled: "true"
|
|
http.cors.allow-origin: "http://localhost:9800"
|
|
xpack.security.enabled: "false"
|
|
discovery.type: single-node
|
|
|
|
elasticvue:
|
|
image: cars10/elasticvue
|
|
ports:
|
|
- "9800:8080"
|