diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 4 | ||||
-rw-r--r-- | config/dev.yaml | 3 | ||||
-rw-r--r-- | config/production.yaml.example | 4 | ||||
-rw-r--r-- | config/test.yaml | 3 |
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 | ||
14 | secrets: | ||
15 | peertube: '' | ||
16 | |||
13 | rates_limit: | 17 | rates_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: | |||
5 | webserver: | 5 | webserver: |
6 | https: false | 6 | https: false |
7 | 7 | ||
8 | secrets: | ||
9 | peertube: 'my super dev secret' | ||
10 | |||
8 | database: | 11 | database: |
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 | ||
12 | secret: | ||
13 | peertube: '' | ||
14 | |||
11 | rates_limit: | 15 | rates_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: | |||
5 | webserver: | 5 | webserver: |
6 | https: false | 6 | https: false |
7 | 7 | ||
8 | secrets: | ||
9 | peertube: 'my super secret' | ||
10 | |||
8 | rates_limit: | 11 | rates_limit: |
9 | signup: | 12 | signup: |
10 | window: 10 minutes | 13 | window: 10 minutes |