ansible / awx

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.
Other
13.5k stars 3.34k forks source link

Option for dev env to enable ssl for postgres #15151

Open fosterseth opened 3 weeks ago

fosterseth commented 3 weeks ago
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
COMPONENT NAME