Skip to content

Commit 30d3a9c

Browse files
authored
Update docker-compose-rasperry4.yml
Cannot pull automatically, but this is entirely debricked#27
1 parent 2d08957 commit 30d3a9c

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

docker-compose-rasperry4.yml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,29 @@ services:
1010
- ./output_files:/output
1111
command: parsedmarc -c /parsedmarc.ini /input/*
1212
depends_on:
13-
- elasticsearch
14-
restart: on-failure
13+
elasticsearch:
14+
condition: service_healthy
15+
restart: always
1516

1617
elasticsearch:
17-
image: docker.elastic.co/elasticsearch/elasticsearch:7.12.0-arm64
18+
image: docker.elastic.co/elasticsearch/elasticsearch:7.16.2-arm64
1819
environment:
20+
- cluster.name=parsedmarc
1921
- discovery.type=single-node
22+
- bootstrap.memory_lock=true
23+
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
24+
- xpack.security.enabled=false # required to prevent warnings in kibana dashboard. Security is not required as we're only operating docker-internally
25+
ulimits:
26+
memlock:
27+
soft: -1
28+
hard: -1
29+
restart: always
30+
healthcheck:
31+
test: [ "CMD", "curl","-s" ,"-f", "http://localhost:9200/_cat/health" ]
32+
interval: 1m
33+
timeout: 10s
34+
retries: 3
35+
start_period: 30s
2036

2137
grafana:
2238
build: ./grafana/

0 commit comments

Comments
 (0)