diff options
Diffstat (limited to 'config/production.yaml.example')
-rw-r--r-- | config/production.yaml.example | 33 |
1 files changed, 25 insertions, 8 deletions
diff --git a/config/production.yaml.example b/config/production.yaml.example index e21528821..6f658e61a 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -95,14 +95,6 @@ log: | |||
95 | maxFiles: 20 | 95 | maxFiles: 20 |
96 | anonymizeIP: false | 96 | anonymizeIP: false |
97 | 97 | ||
98 | search: | ||
99 | # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance | ||
100 | # If enabled, the associated group will be able to "escape" from the instance follows | ||
101 | # That means they will be able to follow channels, watch videos, list videos of non followed instances | ||
102 | remote_uri: | ||
103 | users: true | ||
104 | anonymous: false | ||
105 | |||
106 | trending: | 98 | trending: |
107 | videos: | 99 | videos: |
108 | interval_days: 7 # Compute trending videos for the last x days | 100 | interval_days: 7 # Compute trending videos for the last x days |
@@ -396,3 +388,28 @@ broadcast_message: | |||
396 | message: '' # Support markdown | 388 | message: '' # Support markdown |
397 | level: 'info' # 'info' | 'warning' | 'error' | 389 | level: 'info' # 'info' | 'warning' | 'error' |
398 | dismissable: false | 390 | dismissable: false |
391 | |||
392 | search: | ||
393 | # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance | ||
394 | # If enabled, the associated group will be able to "escape" from the instance follows | ||
395 | # That means they will be able to follow channels, watch videos, list videos of non followed instances | ||
396 | remote_uri: | ||
397 | users: true | ||
398 | anonymous: false | ||
399 | |||
400 | # Use a third party index instead of your local index, only for search results | ||
401 | # Useful to discover content outside of your instance | ||
402 | # If you enable search_index, you must enable remote_uri search for users | ||
403 | # If you do not enable remote_uri search for anonymous user, your instance will redirect the user on the origin instance | ||
404 | # instead of loading the video locally | ||
405 | search_index: | ||
406 | enabled: false | ||
407 | # URL of the search index, that should use the same search API and routes | ||
408 | # than PeerTube: https://docs.joinpeertube.org/api-rest-reference.html | ||
409 | # You should deploy your own with https://framagit.org/framasoft/peertube/search-index, | ||
410 | # and can use https://search.joinpeertube.org/ for tests, but keep in mind the latter is an unmoderated search index | ||
411 | url: '' | ||
412 | # You can disable local search, so users only use the search index | ||
413 | disable_local_search: false | ||
414 | # If you did not disable local search, you can decide to use the search index by default | ||
415 | is_default_search: false | ||