File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,11 @@ const PG_META_DB_NAME = process.env.PG_META_DB_NAME || 'postgres'
6
6
const PG_META_DB_USER = process . env . PG_META_DB_USER || 'postgres'
7
7
const PG_META_DB_PORT = Number ( process . env . PG_META_DB_PORT ) || 5432
8
8
const PG_META_DB_PASSWORD = process . env . PG_META_DB_PASSWORD || 'postgres'
9
+ const PG_META_DB_SSL_MODE = process . env . PG_META_DB_SSL_MODE || 'disable'
9
10
10
11
const PG_CONN_TIMEOUT_SECS = Number ( process . env . PG_CONN_TIMEOUT_SECS || 15 )
11
12
12
- export const PG_CONNECTION = `postgres://${ PG_META_DB_USER } :${ PG_META_DB_PASSWORD } @${ PG_META_DB_HOST } :${ PG_META_DB_PORT } /${ PG_META_DB_NAME } ?sslmode=disable `
13
+ export const PG_CONNECTION = `postgres://${ PG_META_DB_USER } :${ PG_META_DB_PASSWORD } @${ PG_META_DB_HOST } :${ PG_META_DB_PORT } /${ PG_META_DB_NAME } ?sslmode=${ PG_META_DB_SSL_MODE } `
13
14
14
15
export const PG_META_EXPORT_DOCS = process . env . PG_META_EXPORT_DOCS === 'true' || false
15
16
You can’t perform that action at this time.
0 commit comments