-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
87 lines (79 loc) · 2.13 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
version: '2'
services:
# Elasticsearch search engine
elasticsearch:
image: conditor/conditores-elasticsearch:6.6.1
restart: "on-failure:3"
container_name: conditor-elasticsearch
environment:
- cluster.name=conditores-dev
- node.name=conditores-master
- node.master=true
- node.data=true
- http_proxy
- https_proxy
- "ES_JAVA_OPTS=-Xms4g -Xmx4g"
- "xpack.security.enabled=false"
- "xpack.monitoring.enabled=true"
- "xpack.watcher.enabled=false"
- "xpack.ml.enabled=false"
- "xpack.graph.enabled=false"
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
ports:
- 9200:9200
- 9300:9300
volumes:
- ./data:/usr/share/elasticsearch/data
- ./logs/elasticsearch:/usr/share/elasticsearch/logs
- ${PWD}/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
- ${PWD}/config/log4j2.properties:/usr/share/elasticsearch/config/log4j2.properties
networks:
- esnet
# Kibana dashboard interface
kibana:
image: docker.elastic.co/kibana/kibana:6.6.1
restart: "on-failure:3"
container_name: conditor-kibana
environment:
- "xpack.security.enabled=false"
- "xpack.monitoring.enabled=true"
- "xpack.reporting.enabled=false"
- "xpack.watcher.enabled=false"
- "xpack.ml.enabled=false"
- "xpack.graph.enabled=false"
- ELASTICSEARCH_URL=http://elasticsearch:9200
links:
- elasticsearch
volumes:
- ./logs/kibana:/var/log/kibana
ports:
- 5601:5601
networks:
- esnet
# enduser entrypoint
# (nginx reverse proxy dedicated to admin authentication stuff)
rp:
container_name: conditor-nginx
image: conditor/conditores-rp:1.1.0
environment:
CK_BASEURL: ${CK_BASEURL}
CK_ADMIN_USERNAME: ${CK_ADMIN_USERNAME}
CK_ADMIN_PASSWORD: ${CK_ADMIN_PASSWORD}
ports:
- 8081:80
links:
- kibana
networks:
- esnet
volumes:
- ./logs/rp/:/var/log/nginx/
restart: "on-failure:3"
networks:
esnet:
driver: bridge