Skip to content

Commit

Permalink
Update docker-compose-rasperry4.yml
Browse files Browse the repository at this point in the history
Cannot pull automatically, but this is entirely debricked#27
  • Loading branch information
supaeasy authored Dec 24, 2021
1 parent 2d08957 commit 30d3a9c
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions docker-compose-rasperry4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,29 @@ services:
- ./output_files:/output
command: parsedmarc -c /parsedmarc.ini /input/*
depends_on:
- elasticsearch
restart: on-failure
elasticsearch:
condition: service_healthy
restart: always

elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.12.0-arm64
image: docker.elastic.co/elasticsearch/elasticsearch:7.16.2-arm64
environment:
- cluster.name=parsedmarc
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- xpack.security.enabled=false # required to prevent warnings in kibana dashboard. Security is not required as we're only operating docker-internally
ulimits:
memlock:
soft: -1
hard: -1
restart: always
healthcheck:
test: [ "CMD", "curl","-s" ,"-f", "http://localhost:9200/_cat/health" ]
interval: 1m
timeout: 10s
retries: 3
start_period: 30s

grafana:
build: ./grafana/
Expand Down

1 comment on commit 30d3a9c

@supaeasy
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super important to update to ElasticSearch 7.16.2 because it fixes log4j vulnerability

Please sign in to comment.