aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml10
-rw-r--r--config/production.yaml.example16
2 files changed, 23 insertions, 3 deletions
diff --git a/config/default.yaml b/config/default.yaml
index c3e42350b..c0d17decf 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -297,6 +297,16 @@ webadmin:
297 # Set this to false if you don't want to allow config edition in the web interface by instance admins 297 # Set this to false if you don't want to allow config edition in the web interface by instance admins
298 allowed: true 298 allowed: true
299 299
300# XML, Atom or JSON feeds
301feeds:
302 videos:
303 # Default number of videos displayed in feeds
304 count: 20
305
306 comments:
307 # Default number of comments displayed in feeds
308 count: 20
309
300cache: 310cache:
301 previews: 311 previews:
302 size: 500 # Max number of previews you want to cache 312 size: 500 # Max number of previews you want to cache
diff --git a/config/production.yaml.example b/config/production.yaml.example
index 4351a4b87..8fd8d805f 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -293,15 +293,25 @@ webadmin:
293 # Set this to false if you don't want to allow config edition in the web interface by instance admins 293 # Set this to false if you don't want to allow config edition in the web interface by instance admins
294 allowed: true 294 allowed: true
295 295
296# XML, Atom or JSON feeds
297feeds:
298 videos:
299 # Default number of videos displayed in feeds
300 count: 20
301
302 comments:
303 # Default number of comments displayed in feeds
304 count: 20
305
296############################################################################### 306###############################################################################
297# 307#
298# From this point, all the following keys can be overridden by the web interface 308# From this point, almost all following keys can be overridden by the web interface
299# (local-production.json file). If you need to change some values, prefer to 309# (local-production.json file). If you need to change some values, prefer to
300# use the web interface because the configuration will be automatically 310# use the web interface because the configuration will be automatically
301# reloaded without any need to restart PeerTube 311# reloaded without any need to restart PeerTube
302# 312#
303# /!\ If you already have a local-production.json file, the modification of the 313# /!\ If you already have a local-production.json file, modification of some of
304# following keys will have no effect /!\ 314# the following keys will have no effect /!\
305# 315#
306############################################################################### 316###############################################################################
307 317