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 1
Describe 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.
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.