aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-03 15:17:11 +0200
committerChocobozzz <chocobozzz@cpy.re>2023-05-09 08:57:34 +0200
commit6a4905602636afd6650c9e6f4d0fcc2105d91100 (patch)
tree1a6ffa4239f62bffa2e6e328ea61a52a65d58d35 /config
parent3a0c2a77b1a6626699514ddaf8135f4397175443 (diff)
downloadPeerTube-6a4905602636afd6650c9e6f4d0fcc2105d91100.tar.gz
PeerTube-6a4905602636afd6650c9e6f4d0fcc2105d91100.tar.zst
PeerTube-6a4905602636afd6650c9e6f4d0fcc2105d91100.zip
Add TMP persistent directory
To store files that must be preserved between peertube restarts
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml1
-rw-r--r--config/production.yaml.example1
-rw-r--r--config/test-1.yaml1
-rw-r--r--config/test-2.yaml1
-rw-r--r--config/test-3.yaml1
-rw-r--r--config/test-4.yaml1
-rw-r--r--config/test-5.yaml1
-rw-r--r--config/test-6.yaml1
8 files changed, 8 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 986b2e999..f3f29ecb9 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -120,6 +120,7 @@ defaults:
120# From the project root directory 120# From the project root directory
121storage: 121storage:
122 tmp: 'storage/tmp/' # Use to download data (imports etc), store uploaded files before and during processing... 122 tmp: 'storage/tmp/' # Use to download data (imports etc), store uploaded files before and during processing...
123 tmp_persistent: 'storage/tmp-persistent/' # As tmp but the directory is not cleaned up between PeerTube restarts
123 bin: 'storage/bin/' 124 bin: 'storage/bin/'
124 avatars: 'storage/avatars/' 125 avatars: 'storage/avatars/'
125 videos: 'storage/videos/' 126 videos: 'storage/videos/'
diff --git a/config/production.yaml.example b/config/production.yaml.example
index bd01375cd..ea6d77306 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -118,6 +118,7 @@ defaults:
118# From the project root directory 118# From the project root directory
119storage: 119storage:
120 tmp: '/var/www/peertube/storage/tmp/' # Use to download data (imports etc), store uploaded files before and during processing... 120 tmp: '/var/www/peertube/storage/tmp/' # Use to download data (imports etc), store uploaded files before and during processing...
121 tmp_persistent: '/var/www/peertube/storage/tmp-persistent/' # As tmp but the directory is not cleaned up between PeerTube restarts
121 bin: '/var/www/peertube/storage/bin/' 122 bin: '/var/www/peertube/storage/bin/'
122 avatars: '/var/www/peertube/storage/avatars/' 123 avatars: '/var/www/peertube/storage/avatars/'
123 videos: '/var/www/peertube/storage/videos/' 124 videos: '/var/www/peertube/storage/videos/'
diff --git a/config/test-1.yaml b/config/test-1.yaml
index 1d1020214..7b62e3d0c 100644
--- a/config/test-1.yaml
+++ b/config/test-1.yaml
@@ -10,6 +10,7 @@ database:
10# From the project root directory 10# From the project root directory
11storage: 11storage:
12 tmp: 'test1/tmp/' 12 tmp: 'test1/tmp/'
13 tmp_persistent: 'test1/tmp-persistent/'
13 bin: 'test1/bin/' 14 bin: 'test1/bin/'
14 avatars: 'test1/avatars/' 15 avatars: 'test1/avatars/'
15 videos: 'test1/videos/' 16 videos: 'test1/videos/'
diff --git a/config/test-2.yaml b/config/test-2.yaml
index d155b017d..ba36369a6 100644
--- a/config/test-2.yaml
+++ b/config/test-2.yaml
@@ -10,6 +10,7 @@ database:
10# From the project root directory 10# From the project root directory
11storage: 11storage:
12 tmp: 'test2/tmp/' 12 tmp: 'test2/tmp/'
13 tmp_persistent: 'test2/tmp-persistent/'
13 bin: 'test2/bin/' 14 bin: 'test2/bin/'
14 avatars: 'test2/avatars/' 15 avatars: 'test2/avatars/'
15 videos: 'test2/videos/' 16 videos: 'test2/videos/'
diff --git a/config/test-3.yaml b/config/test-3.yaml
index 50acf613a..6adec7953 100644
--- a/config/test-3.yaml
+++ b/config/test-3.yaml
@@ -10,6 +10,7 @@ database:
10# From the project root directory 10# From the project root directory
11storage: 11storage:
12 tmp: 'test3/tmp/' 12 tmp: 'test3/tmp/'
13 tmp_persistent: 'test3/tmp-persistent/'
13 bin: 'test3/bin/' 14 bin: 'test3/bin/'
14 avatars: 'test3/avatars/' 15 avatars: 'test3/avatars/'
15 videos: 'test3/videos/' 16 videos: 'test3/videos/'
diff --git a/config/test-4.yaml b/config/test-4.yaml
index 615e288b3..f042aee46 100644
--- a/config/test-4.yaml
+++ b/config/test-4.yaml
@@ -10,6 +10,7 @@ database:
10# From the project root directory 10# From the project root directory
11storage: 11storage:
12 tmp: 'test4/tmp/' 12 tmp: 'test4/tmp/'
13 tmp_persistent: 'test4/tmp-persistent/'
13 bin: 'test4/bin/' 14 bin: 'test4/bin/'
14 avatars: 'test4/avatars/' 15 avatars: 'test4/avatars/'
15 videos: 'test4/videos/' 16 videos: 'test4/videos/'
diff --git a/config/test-5.yaml b/config/test-5.yaml
index 447e3862a..ad90fec04 100644
--- a/config/test-5.yaml
+++ b/config/test-5.yaml
@@ -10,6 +10,7 @@ database:
10# From the project root directory 10# From the project root directory
11storage: 11storage:
12 tmp: 'test5/tmp/' 12 tmp: 'test5/tmp/'
13 tmp_persistent: 'test5/tmp-persistent/'
13 bin: 'test5/bin/' 14 bin: 'test5/bin/'
14 avatars: 'test5/avatars/' 15 avatars: 'test5/avatars/'
15 videos: 'test5/videos/' 16 videos: 'test5/videos/'
diff --git a/config/test-6.yaml b/config/test-6.yaml
index c077d7e38..a579f1f01 100644
--- a/config/test-6.yaml
+++ b/config/test-6.yaml
@@ -10,6 +10,7 @@ database:
10# From the project root directory 10# From the project root directory
11storage: 11storage:
12 tmp: 'test6/tmp/' 12 tmp: 'test6/tmp/'
13 tmp_persistent: 'test6/tmp-persistent/'
13 bin: 'test6/bin/' 14 bin: 'test6/bin/'
14 avatars: 'test6/avatars/' 15 avatars: 'test6/avatars/'
15 videos: 'test6/videos/' 16 videos: 'test6/videos/'