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

Option for dev env to enable ssl for postgres #15151

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

fosterseth
Copy link
Member

@fosterseth fosterseth commented Apr 26, 2024

SUMMARY

PG_TLS=true make docker-compose

This will add some extra startup commands for the postgres container to generate a key and
cert to use for postgres connections.

It will also mount in pgssl.conf which has ssl configuration.

This can be useful for debugging issues that only surface when using ssl postgres connections.

I'd also be okay with just writing up some docs on how to do this manually if we don't want to add more code to our bloated docker-compose.yml.j2 file

ISSUE TYPE
  • New or Enhanced Feature
COMPONENT NAME
  • API

PG_TLS=true make docker-compose

This will add some extra startup commands
for the postgres container to generate a key and
cert to use for postgres connections.
It will also mount in pgssl.conf which has ssl configuration.

This can be useful for debugging issues that only surface
when using ssl postgres connections.
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.

None yet

1 participant