Closed fredj closed 3 years ago
Redis health check must be added by default but it's not the case when C2C_REDIS_SENTINELS is not set.
C2C_REDIS_SENTINELS
See https://github.com/camptocamp/c2cwsgiutils/blob/release_4/c2cwsgiutils/health_check.py#L101: Because C2C_REDIS_SENTINELSis set to an empty string in Dockerfile: https://github.com/camptocamp/c2cwsgiutils/blob/release_4/Dockerfile#L65 the value of C2C_REDIS_URL is not evaluated
C2C_REDIS_URL
Probably the same issue for all the optional variables set to empty string
@sbrunner, should this issue be closed?
For me yes :-)
Redis health check must be added by default but it's not the case when
C2C_REDIS_SENTINELS
is not set.See https://github.com/camptocamp/c2cwsgiutils/blob/release_4/c2cwsgiutils/health_check.py#L101: Because
C2C_REDIS_SENTINELS
is set to an empty string in Dockerfile: https://github.com/camptocamp/c2cwsgiutils/blob/release_4/Dockerfile#L65 the value ofC2C_REDIS_URL
is not evaluated