aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml6
-rw-r--r--config/production.yaml.example18
-rw-r--r--config/test-1.yaml2
-rw-r--r--config/test-2.yaml2
-rw-r--r--config/test-3.yaml2
-rw-r--r--config/test-4.yaml2
-rw-r--r--config/test-5.yaml2
-rw-r--r--config/test-6.yaml2
-rw-r--r--config/test.yaml2
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
9database: 9database:
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
15storage: 17storage:
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 @@
1listen:
2 port: 9000
3
1# Correspond to your reverse proxy "listen" configuration 4# Correspond to your reverse proxy "listen" configuration
2webserver: 5webserver:
3 https: false 6 https: false
@@ -5,4 +8,17 @@ webserver:
5 port: 80 8 port: 80
6 9
7database: 10database:
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
18storage:
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
8database: 8database:
9 suffix: '-test1' 9 suffix: '_test1'
10 10
11# From the project root directory 11# From the project root directory
12storage: 12storage:
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
8database: 8database:
9 suffix: '-test2' 9 suffix: '_test2'
10 10
11# From the project root directory 11# From the project root directory
12storage: 12storage:
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
8database: 8database:
9 suffix: '-test3' 9 suffix: '_test3'
10 10
11# From the project root directory 11# From the project root directory
12storage: 12storage:
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
8database: 8database:
9 suffix: '-test4' 9 suffix: '_test4'
10 10
11# From the project root directory 11# From the project root directory
12storage: 12storage:
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
8database: 8database:
9 suffix: '-test5' 9 suffix: '_test5'
10 10
11# From the project root directory 11# From the project root directory
12storage: 12storage:
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
8database: 8database:
9 suffix: '-test6' 9 suffix: '_test6'
10 10
11# From the project root directory 11# From the project root directory
12storage: 12storage:
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
7database: 7database:
8 hostname: 'localhost' 8 hostname: 'localhost'
9 port: 27017 9 port: 5432