Skip to content
Snippets Groups Projects
Commit f9db773e authored by nimrod's avatar nimrod
Browse files

Moved Curator healthcheck to the image.

parent 8331d113
No related branches found
No related tags found
No related merge requests found
FROM python:3.6-alpine
RUN pip install --no-cache-dir elasticsearch-curator==5.4.1
CMD /usr/sbin/crond -f
HEALTHCHECK --timeout=1s CMD pgrep crond || exit 1
......@@ -163,11 +163,6 @@ services:
# context: ./curator
links:
- elasticsearch
healthcheck:
test: ["CMD", "pgrep", "crond"]
interval: 10s
timeout: 3s
retries: 10
restart: always
logging: *logging
environment:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment