File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,10 @@ config :libcluster,
37
37
database: " postgres" ,
38
38
port: 5432 ,
39
39
parameters: [],
40
+ # optional, defaults to false
41
+ ssl: true ,
42
+ # optional, please refer to the Postgrex docs
43
+ ssl_opts: nil ,
40
44
# optional, defaults to node cookie
41
45
channel_name: " cluster"
42
46
],
Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ defmodule LibclusterPostgres.Strategy do
32
32
password: Keyword . fetch! ( state . config , :password ) ,
33
33
database: Keyword . fetch! ( state . config , :database ) ,
34
34
port: Keyword . fetch! ( state . config , :port ) ,
35
+ ssl: Keyword . get ( state . config , :ssl ) ,
36
+ ssl_opts: Keyword . get ( state . config , :ssl_opts ) ,
35
37
parameters: Keyword . fetch! ( state . config , :parameters ) ,
36
38
channel_name: channel_name
37
39
]
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ defmodule LibclusterPostgres.MixProject do
5
5
[
6
6
name: "libcluster_postgres" ,
7
7
app: :libcluster_postgres ,
8
- version: "0.1.1 " ,
8
+ version: "0.1.2 " ,
9
9
elixir: "~> 1.14" ,
10
10
start_permanent: Mix . env ( ) == :prod ,
11
11
deps: deps ( ) ,
You can’t perform that action at this time.
0 commit comments