-
Notifications
You must be signed in to change notification settings - Fork 40
/
docker-compose.yml
53 lines (52 loc) · 1.61 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
version: '3'
volumes:
elasticsearch_persistent:
elasticsearch_snapshots:
driver: local
driver_opts:
type: 'none'
device: /var/BeaKer/snapshots
o: bind
services:
elasticsearch:
image: activecm-beaker/elasticsearch:${ELK_STACK_VERSION:-latest}
build: ./elasticsearch
restart: unless-stopped
environment:
- ELASTIC_PASSWORD=${ELASTIC_PASSWORD}
- "ES_JAVA_OPTS=-Xms3g -Xmx3g"
ports:
- "${ELASTIC_HTTP_PORT:-9200}:9200"
volumes:
- elasticsearch_persistent:/usr/share/elasticsearch/data
- ${BEAKER_CONFIG_DIR:-/etc/BeaKer/}certificates:/usr/share/elasticsearch/config/certificates
- elasticsearch_snapshots:/usr/share/elasticsearch/snapshots
kibana:
image: activecm-beaker/kibana:${ELK_STACK_VERSION:-latest}
build: ./kibana
restart: unless-stopped
environment:
- KIBANA_SERVICE_TOKEN=${KIBANA_SERVICE_TOKEN}
- SAVED_OBJECTS_ENCRYPTION_KEY=${SAVED_OBJECTS_ENCRYPTION_KEY}
- REPORTING_ENCRYPTION_KEY=${REPORTING_ENCRYPTION_KEY}
- SECURITY_ENCRYPTION_KEY=${SECURITY_ENCRYPTION_KEY}
ports:
- "${KIBANA_HTTP_PORT:-5601}:5601"
volumes:
- ${BEAKER_CONFIG_DIR:-/etc/BeaKer/}certificates:/usr/share/kibana/config/certificates
depends_on:
- elasticsearch
check_kibana:
image: activecm-beaker/check_kibana:latest
build: ./check_kibana
restart: "no"
depends_on:
- kibana
es-dump:
image: taskrabbit/elasticsearch-dump:v6.28.0
restart: "no"
environment:
- NODE_TLS_REJECT_UNAUTHORIZED=0
depends_on:
- elasticsearch
entrypoint: ["/bin/true"]