Update production example configuration
authorChocobozzz <florian.bigard@gmail.com>
Sat, 26 Aug 2017 07:19:50 +0000 (09:19 +0200)
committerChocobozzz <florian.bigard@gmail.com>
Sat, 26 Aug 2017 07:19:58 +0000 (09:19 +0200)
config/production.yaml.example

index 0857aa3cab412c9b3ad3f2d995570f521e299c5f..90e07f5776c74c670e7df978391412d08e6a0555 100644 (file)
@@ -25,11 +25,16 @@ storage:
   torrents: 'torrents/'
   cache: 'cache/'
 
+cache:
+  previews:
+    size: 1 # Max number of previews you want to cache
+
 admin:
   email: 'admin@example.com'
 
 signup:
   enabled: false
+  limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
 
 # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag
 # Uses a lot of CPU!