aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-07-12 11:56:02 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-07-12 11:56:02 +0200
commitf981dae8617271a2dc713bb683951730b306e0c5 (patch)
treeecee631766bc1b98c20a7836479fed40850c5a56 /config
parent075f16caac5236cb04c98ae7b3a989766d764bb3 (diff)
downloadPeerTube-f981dae8617271a2dc713bb683951730b306e0c5.tar.gz
PeerTube-f981dae8617271a2dc713bb683951730b306e0c5.tar.zst
PeerTube-f981dae8617271a2dc713bb683951730b306e0c5.zip
Add previews cache system between pods
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml5
-rw-r--r--config/production.yaml.example1
-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
8 files changed, 18 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index e03bf1aea..b4e7606cf 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -22,6 +22,11 @@ storage:
22 previews: 'previews/' 22 previews: 'previews/'
23 thumbnails: 'thumbnails/' 23 thumbnails: 'thumbnails/'
24 torrents: 'torrents/' 24 torrents: 'torrents/'
25 cache: 'cache/'
26
27cache:
28 previews:
29 size: 1 # Max number of previews you want to cache
25 30
26admin: 31admin:
27 email: 'admin@example.com' 32 email: 'admin@example.com'
diff --git a/config/production.yaml.example b/config/production.yaml.example
index c18457df6..0857aa3ca 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -23,6 +23,7 @@ storage:
23 previews: 'previews/' 23 previews: 'previews/'
24 thumbnails: 'thumbnails/' 24 thumbnails: 'thumbnails/'
25 torrents: 'torrents/' 25 torrents: 'torrents/'
26 cache: 'cache/'
26 27
27admin: 28admin:
28 email: 'admin@example.com' 29 email: 'admin@example.com'
diff --git a/config/test-1.yaml b/config/test-1.yaml
index dbe408a8c..e244a8797 100644
--- a/config/test-1.yaml
+++ b/config/test-1.yaml
@@ -13,8 +13,10 @@ storage:
13 certs: 'test1/certs/' 13 certs: 'test1/certs/'
14 videos: 'test1/videos/' 14 videos: 'test1/videos/'
15 logs: 'test1/logs/' 15 logs: 'test1/logs/'
16 previews: 'test1/previews/'
16 thumbnails: 'test1/thumbnails/' 17 thumbnails: 'test1/thumbnails/'
17 torrents: 'test1/torrents/' 18 torrents: 'test1/torrents/'
19 cache: 'test1/cache/'
18 20
19admin: 21admin:
20 email: 'admin1@example.com' 22 email: 'admin1@example.com'
diff --git a/config/test-2.yaml b/config/test-2.yaml
index c95b9c229..236dcb10d 100644
--- a/config/test-2.yaml
+++ b/config/test-2.yaml
@@ -13,8 +13,10 @@ storage:
13 certs: 'test2/certs/' 13 certs: 'test2/certs/'
14 videos: 'test2/videos/' 14 videos: 'test2/videos/'
15 logs: 'test2/logs/' 15 logs: 'test2/logs/'
16 previews: 'test2/previews/'
16 thumbnails: 'test2/thumbnails/' 17 thumbnails: 'test2/thumbnails/'
17 torrents: 'test2/torrents/' 18 torrents: 'test2/torrents/'
19 cache: 'test2/cache/'
18 20
19admin: 21admin:
20 email: 'admin2@example.com' 22 email: 'admin2@example.com'
diff --git a/config/test-3.yaml b/config/test-3.yaml
index 2eb984692..a29225a44 100644
--- a/config/test-3.yaml
+++ b/config/test-3.yaml
@@ -13,8 +13,10 @@ storage:
13 certs: 'test3/certs/' 13 certs: 'test3/certs/'
14 videos: 'test3/videos/' 14 videos: 'test3/videos/'
15 logs: 'test3/logs/' 15 logs: 'test3/logs/'
16 previews: 'test3/previews/'
16 thumbnails: 'test3/thumbnails/' 17 thumbnails: 'test3/thumbnails/'
17 torrents: 'test3/torrents/' 18 torrents: 'test3/torrents/'
19 cache: 'test3/cache/'
18 20
19admin: 21admin:
20 email: 'admin3@example.com' 22 email: 'admin3@example.com'
diff --git a/config/test-4.yaml b/config/test-4.yaml
index a0a9bde21..da93e128d 100644
--- a/config/test-4.yaml
+++ b/config/test-4.yaml
@@ -13,8 +13,10 @@ storage:
13 certs: 'test4/certs/' 13 certs: 'test4/certs/'
14 videos: 'test4/videos/' 14 videos: 'test4/videos/'
15 logs: 'test4/logs/' 15 logs: 'test4/logs/'
16 previews: 'test4/previews/'
16 thumbnails: 'test4/thumbnails/' 17 thumbnails: 'test4/thumbnails/'
17 torrents: 'test4/torrents/' 18 torrents: 'test4/torrents/'
19 cache: 'test4/cache/'
18 20
19admin: 21admin:
20 email: 'admin4@example.com' 22 email: 'admin4@example.com'
diff --git a/config/test-5.yaml b/config/test-5.yaml
index af8654e14..f95e25eb8 100644
--- a/config/test-5.yaml
+++ b/config/test-5.yaml
@@ -13,8 +13,10 @@ storage:
13 certs: 'test5/certs/' 13 certs: 'test5/certs/'
14 videos: 'test5/videos/' 14 videos: 'test5/videos/'
15 logs: 'test5/logs/' 15 logs: 'test5/logs/'
16 previews: 'test5/previews/'
16 thumbnails: 'test5/thumbnails/' 17 thumbnails: 'test5/thumbnails/'
17 torrents: 'test5/torrents/' 18 torrents: 'test5/torrents/'
19 cache: 'test5/cache/'
18 20
19admin: 21admin:
20 email: 'admin5@example.com' 22 email: 'admin5@example.com'
diff --git a/config/test-6.yaml b/config/test-6.yaml
index d74d3b052..87d054439 100644
--- a/config/test-6.yaml
+++ b/config/test-6.yaml
@@ -13,8 +13,10 @@ storage:
13 certs: 'test6/certs/' 13 certs: 'test6/certs/'
14 videos: 'test6/videos/' 14 videos: 'test6/videos/'
15 logs: 'test6/logs/' 15 logs: 'test6/logs/'
16 previews: 'test6/previews/'
16 thumbnails: 'test6/thumbnails/' 17 thumbnails: 'test6/thumbnails/'
17 torrents: 'test6/torrents/' 18 torrents: 'test6/torrents/'
19 cache: 'test6/cache/'
18 20
19admin: 21admin:
20 email: 'admin6@example.com' 22 email: 'admin6@example.com'