-
Notifications
You must be signed in to change notification settings - Fork 510
/
docker-compose-v8.yml
37 lines (37 loc) · 1.21 KB
/
docker-compose-v8.yml
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
version: '3'
services:
# search engine
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.15.1
container_name: elasticsearch
environment:
- discovery.type=single-node
- http.port=9200
- http.cors.enabled=true
- http.cors.allow-origin=http://localhost:1358,http://127.0.0.1:1358
- http.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization
- http.cors.allow-credentials=true
- bootstrap.memory_lock=true
- 'ES_JAVA_OPTS=-Xms512m -Xmx512m'
- network.publish_host=_local_
- network.host=_local_,_site_
- transport.host=127.0.0.1
- http.host=0.0.0.0
- xpack.security.enabled=false
ports:
- '9200:9200'
- '9300:9300'
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- ./data:/usr/share/elasticsearch/data
# elasticsearch browser
dejavu:
image: appbaseio/dejavu:latest
container_name: dejavu
ports:
- '1358:1358'
links:
- elasticsearch