forked from sherifabdlnaby/elastdocker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.tools.yml
43 lines (40 loc) · 1.55 KB
/
docker-compose.tools.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
version: '3.5'
services:
curator:
image: curator:elastdocker-${ELK_VERSION}
build:
context: tools/curator/.
restart: unless-stopped
environment:
ELASTICSEARCH_HOST_PORT: ${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}
ELASTICSEARCH_HTTP_AUTH: ${ELASTIC_USERNAME}:${ELASTIC_PASSWORD}
volumes:
- ./tools/curator/curator.yml:/root/.curator/curator.yml:ro
- ./tools/curator/crontab:/etc/crontab:ro
- ./tools/curator/actions/:/actions/:ro
elastalert:
image: sherifabdlnaby/elastalert:3.1.1
restart: unless-stopped
volumes:
- ./tools/elastalert/config/elastalert.yaml:/opt/config/config.yaml
- ./tools/elastalert/config/elastalert-test.yaml:/opt/config/config-test.yaml
- ./tools/elastalert/config/config.json:/opt/config/config.json
- ./tools/elastalert/rules:/opt/elastalert/rules
- ./tools/elastalert/rule_templates:/opt/elastalert/rule_templates
environment:
ELASTICSEARCH_HOST: ${ELASTICSEARCH_HOST}
ELASTICSEARCH_PORT: ${ELASTICSEARCH_PORT}
ELASTIC_USERNAME: ${ELASTIC_USERNAME}
ELASTIC_PASSWORD: ${ELASTIC_PASSWORD}
ports:
- 3030:3030
rubban:
image: sherifabdlnaby/rubban:latest
restart: unless-stopped
environment:
RUBBAN_KIBANA_HOST: "https://${KIBANA_HOST}:${KIBANA_PORT}"
RUBBAN_KIBANA_USER: ${ELASTIC_USERNAME}
RUBBAN_KIBANA_PASSWORD: ${ELASTIC_PASSWORD}
RUBBAN_REFRESHINDEXPATTERN_ENABLED: 'true'
RUBBAN_REFRESHINDEXPATTERN_SCHEDULE: '*/5 * * * *'
RUBBAN_REFRESHINDEXPATTERN_PATTERNS: '*'