timescale/timescaledb-docker

Impossible to install TimescaleDB extension in container with POSTGRES_PASSWORD_FILE variable

AmberDante opened this issue · 2 comments

Impossible to install TimescaleDB extension in container with POSTGRES_PASSWORD_FILE variable

An error in docker-entrypoint-initdb.d/000_install_timescaledb.sh line 44
export PGPASSWORD="$POSTGRESQL_PASSWORD"
It's reset PGPASSWORD to empty string. In result next connection to DB will be done with empty password and finished with an auth error.

Hi @AmberDante,

Thanks for reaching out. Specifying the PostgreSQL password via POSTGRES_PASSWORD_FILE is currently not supported by this Docker image, but it might be a useful enhancement for future versions of this image.

it works for me in version 2.15.3 (both vanilla & bitnami), so probably the bug can be closed?