aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/config.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-08-24 11:38:57 +0200
committerChocobozzz <me@florianbigard.com>2020-08-24 11:38:57 +0200
commitb0ce7c39dce4be8d7c2775e8205f8abfe348a0de (patch)
tree7b8d7f03162fb3f15933b27fb5744694672a88dd /server/initializers/config.ts
parent4f24f16e27d942b063c945dde55b902572b7dee7 (diff)
downloadPeerTube-b0ce7c39dce4be8d7c2775e8205f8abfe348a0de.tar.gz
PeerTube-b0ce7c39dce4be8d7c2775e8205f8abfe348a0de.tar.zst
PeerTube-b0ce7c39dce4be8d7c2775e8205f8abfe348a0de.zip
Add ssl support to postgresql
Diffstat (limited to 'server/initializers/config.ts')
-rw-r--r--server/initializers/config.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts
index 32bd3bbe2..04ba605b6 100644
--- a/server/initializers/config.ts
+++ b/server/initializers/config.ts
@@ -23,6 +23,7 @@ const CONFIG = {
23 DBNAME: config.has('database.name') ? config.get<string>('database.name') : 'peertube' + config.get<string>('database.suffix'), 23 DBNAME: config.has('database.name') ? config.get<string>('database.name') : 'peertube' + config.get<string>('database.suffix'),
24 HOSTNAME: config.get<string>('database.hostname'), 24 HOSTNAME: config.get<string>('database.hostname'),
25 PORT: config.get<number>('database.port'), 25 PORT: config.get<number>('database.port'),
26 SSL: config.get<boolean>('database.ssl'),
26 USERNAME: config.get<string>('database.username'), 27 USERNAME: config.get<string>('database.username'),
27 PASSWORD: config.get<string>('database.password'), 28 PASSWORD: config.get<string>('database.password'),
28 POOL: { 29 POOL: {