-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdocker-compose.yml
55 lines (52 loc) · 1.24 KB
/
docker-compose.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
version: "3"
services:
mesh:
image: gentics/mesh:1.7.0
container_name: mesh-server
environment:
- MESH_ELASTICSEARCH_URL=http://elasticsearch:9200
- MESH_ELASTICSEARCH_START_EMBEDDED=false
- MESH_AUTH_KEYSTORE_PASS=changeme
- MESH_MONITORING_HTTP_HOST=0.0.0.0
- MESH_ELASTICSEARCH_COMPLIANCE_MODE=ES_7
- MESH_INITIAL_ADMIN_PASSWORD=admin
stop_grace_period: 5m
ports:
- '8080:8080'
- '127.0.0.1:8081:8081'
volumes:
- mesh-data:/graphdb
- mesh-uploads:/uploads
- mesh-keystore:/keystore
ulimits:
nofile:
soft: 20000
hard: 40000
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch-oss:7.5.0
container_name: mesh-elasticsearch
environment:
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
stop_grace_period: 5m
ports:
- '127.0.0.1:9200:9200'
volumes:
- esdata:/usr/share/elasticsearch/data
ulimits:
nofile:
soft: 65536
hard: 65536
memlock:
soft: -1
hard: -1
volumes:
esdata:
driver: local
mesh-keystore:
driver: local
mesh-data:
driver: local
mesh-uploads:
driver: local