From 30d3a9cdf00792ce56db557273dba1d9c0d97bf8 Mon Sep 17 00:00:00 2001 From: supaeasy <59504964+supaeasy@users.noreply.github.com> Date: Fri, 24 Dec 2021 01:56:58 +0100 Subject: [PATCH] Update docker-compose-rasperry4.yml Cannot pull automatically, but this is entirely https://github.com/debricked/dmarc-visualizer/pull/27 --- docker-compose-rasperry4.yml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/docker-compose-rasperry4.yml b/docker-compose-rasperry4.yml index a097e31..bcc311f 100644 --- a/docker-compose-rasperry4.yml +++ b/docker-compose-rasperry4.yml @@ -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/