-
Notifications
You must be signed in to change notification settings - Fork 29
Simple healthcheck #74
Copy link
Copy link
Open
Description
Is your feature request related to a problem? Please describe.
Just add a simple health check to the compose file
Describe the solution you'd like
I have implemented this one:
healthcheck:
test:
- CMD-SHELL
- >
wget --spider -q
--header='Origin: ${BASE_URL}'
--header='Host: ${HOSTNAME_PUBLIC:-example.domain.com}'
http://127.0.0.1:$${PORT:-3000} || exit 1Describe alternatives you've considered
I add here my external domain (I use an http proxy)
Additional context
I just like to do a healthcheck on all of my containers.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels