docker-traefik icon indicating copy to clipboard operation
docker-traefik copied to clipboard

Add Healthchecks

Open waywardone opened this issue 5 years ago • 2 comments

I use healthchecks successfully without traefik so this exact PR hasn't been tested, so please update as needed if I got any of those parts wrong.

waywardone avatar Oct 21 '20 05:10 waywardone

  • What is the Environment Variable BASE_URL? I can't see it in the official LSIO docs https://docs.linuxserver.io/images/docker-healthchecks.
  • Does the SUPERUSER_PASSWORD Environment Variable need prepending with FILE__ if it uses a secret?
  • Do the secrets need declaring inside the block with the following?
secrets:
      - healthchecks_superuser_password

robflate avatar Oct 21 '20 14:10 robflate

Healthchecks uses a local_settings.py with a longer list of environment variables mentioned in the Configuration section of the project README. That being said, it seems like BASE_URL is generated in my running instance and doesn't need to be specified. Removed it.

I switched back to environment for the SUPERUSER_PASSWORD. I tried secrets with the required declarations and FILE__ prefix and couldn't get it to work.

waywardone avatar Oct 21 '20 17:10 waywardone