Skip to content

Update Dockerfile#472

Open
shatovilya wants to merge 1 commit intodanielqsj:masterfrom
shatovilya:shatovilya-add-healtheck
Open

Update Dockerfile#472
shatovilya wants to merge 1 commit intodanielqsj:masterfrom
shatovilya:shatovilya-add-healtheck

Conversation

@shatovilya
Copy link
Copy Markdown

Added status check to dockerfile

Add HEALTHCHECK
@vitaliirybnikov
Copy link
Copy Markdown

@danielqsj check this one, please

USER nobody

HEALTHCHECK --interval=30s --timeout=10s --retries=3 \
CMD wget -q -O /dev/null http://localhost:9308/metrics || exit 1
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How to adapt to other ports with web.listen-address set

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants