diff options
author | Girish Ramakrishnan <girish@cloudron.io> | 2020-06-24 10:48:04 -0700 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-06-25 08:48:44 +0200 |
commit | 6ee722111792a76aa5e1c8d42a28103cafc38e39 (patch) | |
tree | 91065ae9da2d71aec9e1324e08a8c1e8b416572f /support | |
parent | 5bccbb0ecd2d13c19e3745eb05451610851c7117 (diff) | |
download | PeerTube-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 'support')
-rw-r--r-- | support/docker/production/config/production.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/docker/production/config/production.yaml b/support/docker/production/config/production.yaml index 58b41a493..4eeca4110 100644 --- a/support/docker/production/config/production.yaml +++ b/support/docker/production/config/production.yaml | |||
@@ -26,7 +26,7 @@ trust_proxy: | |||
26 | - 'linklocal' | 26 | - 'linklocal' |
27 | - 'uniquelocal' | 27 | - 'uniquelocal' |
28 | 28 | ||
29 | # Your database name will be "peertube"+database.suffix | 29 | # Your database name will be database.name or "peertube"+database.suffix |
30 | database: | 30 | database: |
31 | hostname: 'postgres' | 31 | hostname: 'postgres' |
32 | port: 5432 | 32 | port: 5432 |