ualex73 / monitor_docker

Monitor Docker containers from Home Assistant
Apache License 2.0
301 stars 37 forks source link

How to set DOCKER_TLS_VERIFY=1 and DOCKER_CERT_PATH on a supervised installation #131

Closed kcofoni closed 1 year ago

kcofoni commented 1 year ago

Hi,

Your explanation and example for setting the TLS environment variables in docker installation of HA is quite clear and I strictly applied it successfully for my beta HA.

My production env is a HA OS installation. Would you please tell we how to proceed to set DOCKER_TLS_VERIFY and DOCKER_CERT_PATH in that case.

kcofoni commented 1 year ago

OK. My bad ! reading your code further and your documentation and just using "certpath" as a configuration variables fixed my issue. Indeed, I do not need to set env var any more. May be this facility should be explicitely mentioned when wrting about DOCKER_TLS_VERIFY and DOCKER_CERT_PATH environment variables in the doc. Good job anyway !