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

Set postgres runtime password in docker-compose file #1835

Merged
merged 1 commit into from
Feb 11, 2025
Merged

Conversation

alastair
Copy link
Member

Description
in #1811 we upgraded the version of postgres, in recent versions of the docker image it's required to either set a password or explicitly say that there is no password.
I decided to set a password, but it meant that running psql commands would now ask for it.
it's possible to set an env variable PGPASSWORD with the password value. While this is "insecure", it's not an issue in local development where the password is defined in plaintext anyway.

@ffont ffont merged commit 5cbc844 into master Feb 11, 2025
1 check passed
@ffont ffont deleted the pg-password branch February 11, 2025 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants