diff options
author | Sascha <sascha@serenitylabs.cloud> | 2019-03-08 14:36:28 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-03-08 14:36:28 +0100 |
commit | 42e733681aef45c9e6224aed288e4c845782c173 (patch) | |
tree | 6e0ee536fd866bb7415350d6d01566c9abda267e /config | |
parent | 9e33a71efa37945e683bd659054fe35d8df1574d (diff) |
config: add DB_SSLMODE for managed/remote PG (#10210)
* config: add DB_SSLMODE for managed/remote PG * streaming: set PG sslmode, defaults to prefer
Diffstat (limited to 'config')
-rw-r--r-- | config/database.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/database.yml b/config/database.yml index 82e560515..c10bff6b2 100644 --- a/config/database.yml +++ b/config/database.yml @@ -3,6 +3,7 @@ default: &default pool: <%= ENV["DB_POOL"] || ENV['MAX_THREADS'] || 5 %> timeout: 5000 encoding: unicode + sslmode: <%= ENV['DB_SSLMODE'] || "prefer" %> development: <<: *default @@ -31,3 +32,4 @@ production: host: <%= ENV['DB_HOST'] || 'localhost' %> port: <%= ENV['DB_PORT'] || 5432 %> prepared_statements: <%= ENV['PREPARED_STATEMENTS'] || 'true' %> + |