Hello. Can please help me with docker-compose grafana healthcheck?
I use an image grafana/grafana:master
and the next healthcheck:
healthcheck:
test: ["CMD-SHELL", "wget --quiet --tries=1 --spider [http://localhost:3000/login](http://localhost:3000/login) || exit 1"]
interval: 1s
timeout: 3s
retries: 30
But in logs i got an error lvl=eror msg="Request error" logger=context userId=0 orgId=0 uname= error="Context.HTML:write tcp 127.0.0.1:3000->127.0.0.1:42422: write: broken pipe"
because wget returns
wget: can't open 'login': Permission denied
How can I change my healthcheck or install curl via docker-compose file in container, because curl
doesn’t install in this image?