-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
62 lines (56 loc) · 1.62 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
56
57
58
59
60
61
62
version: '2.3'
services:
elastic:
image: elasticsearch:7.9.1
environment:
- bootstrap.memory_lock=true
- discovery.type=single-node
- ES_JAVA_OPTS=-Xms512m -Xmx512m
- logger.level=error
ulimits:
memlock:
soft: -1
hard: -1
healthcheck:
interval: 5s
retries: 500
test: curl -s 127.0.0.1:9200 &>/dev/null
## Uncomment the next lines if index should persist on disk
#volumes:
# - data01:/usr/share/elasticsearch/datacd rep
## Uncomment the next line when deploying in production.
#restart: always
kibana:
image: kibana:7.9.1
ports:
- "5601:5601"
environment:
#SERVER_NAME: xxx.cceh.uni-koeln.de
SERVER_BASEPATH: /eisp
SERVER_REWRITEBASEPATH: "true"
ELASTICSEARCH_HOSTS: http://elastic:9200
depends_on:
elastic:
condition: service_healthy
## Uncomment the next line when deploying in production.
#restart: always
eisp:
image: cceh/eisp:latest
depends_on:
elastic:
condition: service_healthy
## Uncomment the next line when deploying in production.
#restart: always
## volumes:
## - PATH_TO_EISP_INI_FILE:/etc/eisp.ini:ro
## - PATH_TO_ELASTIC_MAPPING_AND_SETTINGS:/etc/eisp.ini:ro
## - PATH_TO_PDF_FILES:/var/lib/eisp:ro
volumes:
- ./eisp.ini:/etc/eisp.ini:ro
- ./elastic_mapping.json:/etc/elastic_mapping.json:ro
- ../eisp_data:/var/lib/eisp:ro
command: [--config_file, /etc/eisp.ini]
## Uncomment the next lines if index should persist on disk
#volumes:
# data01:
# driver: local