diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 6 | ||||
-rw-r--r-- | config/production.yaml.example | 18 | ||||
-rw-r--r-- | config/test-1.yaml | 2 | ||||
-rw-r--r-- | config/test-2.yaml | 2 | ||||
-rw-r--r-- | config/test-3.yaml | 2 | ||||
-rw-r--r-- | config/test-4.yaml | 2 | ||||
-rw-r--r-- | config/test-5.yaml | 2 | ||||
-rw-r--r-- | config/test-6.yaml | 2 | ||||
-rw-r--r-- | config/test.yaml | 2 |
9 files changed, 28 insertions, 10 deletions
diff --git a/config/default.yaml b/config/default.yaml index 90f4b9466..0939ae4ba 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -8,8 +8,10 @@ webserver: | |||
8 | 8 | ||
9 | database: | 9 | database: |
10 | hostname: 'localhost' | 10 | hostname: 'localhost' |
11 | port: 27017 | 11 | port: 5432 |
12 | suffix: '-dev' | 12 | suffix: '_dev' |
13 | username: 'peertube' | ||
14 | password: 'peertube' | ||
13 | 15 | ||
14 | # From the project root directory | 16 | # From the project root directory |
15 | storage: | 17 | storage: |
diff --git a/config/production.yaml.example b/config/production.yaml.example index 056ace434..005444e73 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -1,3 +1,6 @@ | |||
1 | listen: | ||
2 | port: 9000 | ||
3 | |||
1 | # Correspond to your reverse proxy "listen" configuration | 4 | # Correspond to your reverse proxy "listen" configuration |
2 | webserver: | 5 | webserver: |
3 | https: false | 6 | https: false |
@@ -5,4 +8,17 @@ webserver: | |||
5 | port: 80 | 8 | port: 80 |
6 | 9 | ||
7 | database: | 10 | database: |
8 | suffix: '-prod' | 11 | hostname: 'localhost' |
12 | port: 5432 | ||
13 | suffix: '_prod' | ||
14 | username: peertube | ||
15 | password: peertube | ||
16 | |||
17 | # From the project root directory | ||
18 | storage: | ||
19 | certs: 'certs/' | ||
20 | videos: 'videos/' | ||
21 | logs: 'logs/' | ||
22 | previews: 'previews/' | ||
23 | thumbnails: 'thumbnails/' | ||
24 | torrents: 'torrents/' | ||
diff --git a/config/test-1.yaml b/config/test-1.yaml index 6dcc7f294..b2a0a5422 100644 --- a/config/test-1.yaml +++ b/config/test-1.yaml | |||
@@ -6,7 +6,7 @@ webserver: | |||
6 | port: 9001 | 6 | port: 9001 |
7 | 7 | ||
8 | database: | 8 | database: |
9 | suffix: '-test1' | 9 | suffix: '_test1' |
10 | 10 | ||
11 | # From the project root directory | 11 | # From the project root directory |
12 | storage: | 12 | storage: |
diff --git a/config/test-2.yaml b/config/test-2.yaml index 209525963..7285f3394 100644 --- a/config/test-2.yaml +++ b/config/test-2.yaml | |||
@@ -6,7 +6,7 @@ webserver: | |||
6 | port: 9002 | 6 | port: 9002 |
7 | 7 | ||
8 | database: | 8 | database: |
9 | suffix: '-test2' | 9 | suffix: '_test2' |
10 | 10 | ||
11 | # From the project root directory | 11 | # From the project root directory |
12 | storage: | 12 | storage: |
diff --git a/config/test-3.yaml b/config/test-3.yaml index 15719d107..138a2cd53 100644 --- a/config/test-3.yaml +++ b/config/test-3.yaml | |||
@@ -6,7 +6,7 @@ webserver: | |||
6 | port: 9003 | 6 | port: 9003 |
7 | 7 | ||
8 | database: | 8 | database: |
9 | suffix: '-test3' | 9 | suffix: '_test3' |
10 | 10 | ||
11 | # From the project root directory | 11 | # From the project root directory |
12 | storage: | 12 | storage: |
diff --git a/config/test-4.yaml b/config/test-4.yaml index e6f34d013..7425f4af7 100644 --- a/config/test-4.yaml +++ b/config/test-4.yaml | |||
@@ -6,7 +6,7 @@ webserver: | |||
6 | port: 9004 | 6 | port: 9004 |
7 | 7 | ||
8 | database: | 8 | database: |
9 | suffix: '-test4' | 9 | suffix: '_test4' |
10 | 10 | ||
11 | # From the project root directory | 11 | # From the project root directory |
12 | storage: | 12 | storage: |
diff --git a/config/test-5.yaml b/config/test-5.yaml index fdeec76d4..1bf0de658 100644 --- a/config/test-5.yaml +++ b/config/test-5.yaml | |||
@@ -6,7 +6,7 @@ webserver: | |||
6 | port: 9005 | 6 | port: 9005 |
7 | 7 | ||
8 | database: | 8 | database: |
9 | suffix: '-test5' | 9 | suffix: '_test5' |
10 | 10 | ||
11 | # From the project root directory | 11 | # From the project root directory |
12 | storage: | 12 | storage: |
diff --git a/config/test-6.yaml b/config/test-6.yaml index 0c9630c89..7303a08fc 100644 --- a/config/test-6.yaml +++ b/config/test-6.yaml | |||
@@ -6,7 +6,7 @@ webserver: | |||
6 | port: 9006 | 6 | port: 9006 |
7 | 7 | ||
8 | database: | 8 | database: |
9 | suffix: '-test6' | 9 | suffix: '_test6' |
10 | 10 | ||
11 | # From the project root directory | 11 | # From the project root directory |
12 | storage: | 12 | storage: |
diff --git a/config/test.yaml b/config/test.yaml index 06705a987..493a23076 100644 --- a/config/test.yaml +++ b/config/test.yaml | |||
@@ -6,4 +6,4 @@ webserver: | |||
6 | 6 | ||
7 | database: | 7 | database: |
8 | hostname: 'localhost' | 8 | hostname: 'localhost' |
9 | port: 27017 | 9 | port: 5432 |