Skip to content

Commit

Permalink
Set healthcheck start perdiod to 10s
Browse files Browse the repository at this point in the history
  • Loading branch information
frafra committed Sep 20, 2023
1 parent 8daf81e commit 6ec7365
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ EXPOSE 3333/TCP
ENV REFINE_MEMORY=1400M
ENV REFINE_MIN_MEMORY=1400M

HEALTHCHECK CMD curl -sSf -o /dev/null http://localhost:3333
HEALTHCHECK CMD --start-period=10s curl -sSf -o /dev/null http://localhost:3333

ENTRYPOINT ["/bin/sh", "entrypoint.sh"]
CMD ["/opt/openrefine/refine", "-i", "0.0.0.0", "-d", "/workspace", "run"]
4 changes: 0 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ services:
environment:
REFINE_MEMORY: 2000M
REFINE_MIN_MEMORY: 2000M
healthcheck:
timeout: 10s
interval: 1m0s
retries: 5
image: ghcr.io/ninanor/openrefine:master
networks:
default: null
Expand Down

0 comments on commit 6ec7365

Please sign in to comment.