aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorGirish Ramakrishnan <girish@cloudron.io>2020-06-24 10:48:04 -0700
committerChocobozzz <chocobozzz@cpy.re>2020-06-25 08:48:44 +0200
commit6ee722111792a76aa5e1c8d42a28103cafc38e39 (patch)
tree91065ae9da2d71aec9e1324e08a8c1e8b416572f /config
parent5bccbb0ecd2d13c19e3745eb05451610851c7117 (diff)
downloadPeerTube-6ee722111792a76aa5e1c8d42a28103cafc38e39.tar.gz
PeerTube-6ee722111792a76aa5e1c8d42a28103cafc38e39.tar.zst
PeerTube-6ee722111792a76aa5e1c8d42a28103cafc38e39.zip
Add database.name config option
If database.name is set, we use it as the complete database name. If unset, we use the "peertube"+database.suffix as the complete database name. Fixes #1620
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml2
-rw-r--r--config/production.yaml.example2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 050019670..a3df1bd45 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -33,7 +33,7 @@ rates_limit:
33trust_proxy: 33trust_proxy:
34 - 'loopback' 34 - 'loopback'
35 35
36# Your database name will be "peertube"+database.suffix 36# Your database name will be database.name OR "peertube"+database.suffix
37database: 37database:
38 hostname: 'localhost' 38 hostname: 'localhost'
39 port: 5432 39 port: 5432
diff --git a/config/production.yaml.example b/config/production.yaml.example
index 6f658e61a..a494bdb03 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -32,7 +32,7 @@ rates_limit:
32trust_proxy: 32trust_proxy:
33 - 'loopback' 33 - 'loopback'
34 34
35# Your database name will be "peertube"+database.suffix 35# Your database name will be database.name OR "peertube"+database.suffix
36database: 36database:
37 hostname: 'localhost' 37 hostname: 'localhost'
38 port: 5432 38 port: 5432