Support for Postgres SSL Mode variable #49367
Unanswered
sschneider-3as
asked this question in
Feature Requests
Replies: 1 comment
|
This is already supported, but the setting belongs to services:
meta:
environment:
PG_META_DB_SSL_MODE: requireThen recreate that service with The current official Compose image ( |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
When running an external PostgreSQL server with SSL enabled ( e.g. in Azure ), the connection string used in Studio cannot be constructed in a way to add the sslmode option. Connections will fail, saying
Error: no pg_hba.conf entry for host "x.x.x.x", user "xxx", database "xxx", no encryptionSuggesting to add an environment variable POSTGRES_SSL_MODE to enable sslmode
All reactions