Update docker-compose.yml

Add restart policy for parsedmarc, as elasticsearch service takes a while to start
This commit is contained in:
yapsr authored and GitHub committed 2020-09-28 12:14:50 +02:00
1 parent f3fe25e410
commit c5efa17cd6
1 file changed
+1
+1
View File
@@ -8,6 +8,7 @@ services:
command: parsedmarc -c /parsedmarc.ini /input/* command: parsedmarc -c /parsedmarc.ini /input/*
depends_on: depends_on:
- elasticsearch - elasticsearch
restart: on-failure
elasticsearch: elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.6.0 image: docker.elastic.co/elasticsearch/elasticsearch:7.6.0