timescale / timescaledb-docker

Release Docker builds of TimescaleDB
Apache License 2.0
290 stars 128 forks source link

Impossible to install TimescaleDB extension in container with POSTGRES_PASSWORD_FILE variable #226

Open AmberDante opened 9 months ago

AmberDante commented 9 months ago

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.

jnidzwetzki commented 9 months ago

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.

Kazmirchuk commented 2 months ago

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