-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
51 lines (50 loc) · 1.19 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
version: '3'
services:
brryle:
build:
context: .
dockerfile: Dockerfile
container_name: brryle
environment:
PAGE_SIZE: 5
PUBLISH_PORT: 80
BACKEND_URL: http://elastic:9200
ports:
- 80:80
elastic:
image: docker.elastic.co/elasticsearch/elasticsearch:8.9.2
container_name: elastic
environment:
- xpack.security.enabled=false
- cluster.name=brryle
- discovery.seed_hosts=elastic
- cluster.initial_master_nodes=elastic
- node.name=elastic
- node.roles=data,ingest,master
- xpack.ml.enabled=false
- bootstrap.memory_lock=true
- http.cors.allow-origin="*"
- http.cors.enabled=true
- "ES_JAVA_OPTS=-Xms1024m -Xmx1024m"
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
ports:
- 9200:9200
volumes:
- elastic_brryle:/usr/share/elasticsearch/data
kibana:
image: docker.elastic.co/kibana/kibana:8.9.2
container_name: kibana
environment:
- SERVER_NAME=kibana.brryle
- ELASTICSEARCH_HOSTS=http://elastic:9200
ports:
- 5601:5601
volumes:
elastic_brryle:
driver: local