aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-10-10 11:12:23 +0200
committerChocobozzz <me@florianbigard.com>2022-10-10 11:12:23 +0200
commita3e5f804ad821f6979e8735b0569b1209986fedc (patch)
tree5b34a6bd6b3cb1c5e3eed32a72d02922100d53dc /config
parenta0da6f90d16027b385a67da6a5691b163626a363 (diff)
downloadPeerTube-a3e5f804ad821f6979e8735b0569b1209986fedc.tar.gz
PeerTube-a3e5f804ad821f6979e8735b0569b1209986fedc.tar.zst
PeerTube-a3e5f804ad821f6979e8735b0569b1209986fedc.zip
Encrypt OTP secret
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml4
-rw-r--r--config/dev.yaml3
-rw-r--r--config/production.yaml.example4
-rw-r--r--config/test.yaml3
4 files changed, 14 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 2d8aaf1ea..890d7acf9 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -10,6 +10,10 @@ webserver:
10 hostname: 'localhost' 10 hostname: 'localhost'
11 port: 9000 11 port: 9000
12 12
13# Secrets you need to generate the first time you run PeerTube
14secrets:
15 peertube: ''
16
13rates_limit: 17rates_limit:
14 api: 18 api:
15 # 50 attempts in 10 seconds 19 # 50 attempts in 10 seconds
diff --git a/config/dev.yaml b/config/dev.yaml
index ca93874d2..ef93afc19 100644
--- a/config/dev.yaml
+++ b/config/dev.yaml
@@ -5,6 +5,9 @@ listen:
5webserver: 5webserver:
6 https: false 6 https: false
7 7
8secrets:
9 peertube: 'my super dev secret'
10
8database: 11database:
9 hostname: 'localhost' 12 hostname: 'localhost'
10 port: 5432 13 port: 5432
diff --git a/config/production.yaml.example b/config/production.yaml.example
index 46d574e42..399ac94f2 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -8,6 +8,10 @@ webserver:
8 hostname: 'example.com' 8 hostname: 'example.com'
9 port: 443 9 port: 443
10 10
11# Secrets you need to generate the first time you run PeerTube
12secret:
13 peertube: ''
14
11rates_limit: 15rates_limit:
12 api: 16 api:
13 # 50 attempts in 10 seconds 17 # 50 attempts in 10 seconds
diff --git a/config/test.yaml b/config/test.yaml
index a87642bd8..48cf0c0f6 100644
--- a/config/test.yaml
+++ b/config/test.yaml
@@ -5,6 +5,9 @@ listen:
5webserver: 5webserver:
6 https: false 6 https: false
7 7
8secrets:
9 peertube: 'my super secret'
10
8rates_limit: 11rates_limit:
9 signup: 12 signup:
10 window: 10 minutes 13 window: 10 minutes