-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Environment
Self-Hosted (Docker)
System
Debian GNU/Linux 11 (bullseye) / Docker version 20.10.5+dfsg1, build 55c4c88
Version
Dashy version 2.1.1
Describe the problem
I am running Dashy in a docker container on debian.
I specify my own ssl certificate as per instructions at https://github.com/Lissy93/dashy/blob/master/docs/management.md#passing-a-self-signed-certificate-to-dashy
dashy runs fine with https on port 443 , has correct certificate, no errors in log, able to configure & run with no problems.
the only issue is the healthcheck..
its fails due to a redirect (302) message returned - (redirection from http to https i assume)
the command used to test healthceck is:
docker exec -it dashy yarn health-check
the result is :
yarn run v1.22.15
$ node services/healthcheck
[Sat Aug 13 2022 12:10:24 GMT+0930 (GMT+09:30)] Running health check...
Status: 302
Request took 0.028 seconds
---
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Is there someway to get the healthcheck to test against https (443) instead of http (80)
my workaroud is to specify
healthcheck:
disable: true
in the docker-compose.yml but it would be nice to have healthcheck active.
Thanks.
Additional info
No response
Please tick the boxes
- You have explained the issue clearly, and included all relevant info
- You are using a supported version of Dashy
- You've checked that this issue hasn't already been raised
- You've checked the docs and troubleshooting guide
- You agree to the code of conduct