Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AmberDante opened this issue Dec 16, 2023 · 2 comments

Comments

@AmberDante
Copy link

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
Copy link
Contributor

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants