-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
65 lines (60 loc) · 1.71 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
version: "3.7"
networks:
elastic:
driver: bridge
volumes:
elasticsearch:
driver: local
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:${ELASIC_VERSION}
restart: unless-stopped
environment:
- "discovery.type=single-node"
- "ES_JAVA_OPTS=-Xms2G -Xmx2G"
- "xpack.security.enabled=true"
- "xpack.security.authc.api_key.enabled=true"
- "ELASTIC_PASSWORD=changeme"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- elasticsearch:/usr/share/elasticsearch/data
ports:
- 127.0.0.1:9200:9200
networks:
- elastic
ent-search:
image: docker.elastic.co/enterprise-search/enterprise-search:${ELASIC_VERSION}
restart: unless-stopped
depends_on:
- "elasticsearch"
environment:
- "JAVA_OPTS=-Xms2G -Xmx2G"
- "ENT_SEARCH_DEFAULT_PASSWORD=changeme"
- "elasticsearch.username=elastic"
- "elasticsearch.password=changeme"
- "elasticsearch.host=http://elasticsearch:9200"
- "allow_es_settings_modification=true"
- "secret_management.encryption_keys=[4a2cd3f81d39bf28738c10db0ca782095ffac07279561809eecc722e0c20eb09]"
- "elasticsearch.startup_retry.interval=15"
ports:
- 127.0.0.1:3002:3002
networks:
- elastic
kibana:
image: docker.elastic.co/kibana/kibana:${ELASIC_VERSION}
restart: unless-stopped
depends_on:
- "elasticsearch"
- "ent-search"
ports:
- 127.0.0.1:5601:5601
environment:
ELASTICSEARCH_HOSTS: http://elasticsearch:9200
ENTERPRISESEARCH_HOST: http://ent-search:3002
ELASTICSEARCH_USERNAME: elastic
ELASTICSEARCH_PASSWORD: changeme
networks:
- elastic