sepia-search-motore-di-rice.../config/default.yaml

59 lines
1.5 KiB
YAML
Raw Normal View History

2020-02-13 11:49:03 +01:00
listen:
hostname: 'localhost'
port: 3234
webserver:
https: false
hostname: 'localhost'
port: 3234
2020-09-18 16:29:32 +02:00
elastic-search:
2020-02-13 11:49:03 +01:00
hostname: 'localhost'
port: 9200
indexes:
videos: 'peertube-index-videos'
2020-02-19 15:39:35 +01:00
channels: 'peertube-index-channels'
2020-02-13 11:49:03 +01:00
log:
level: 'debug' # debug/info/warning/error
2020-08-27 14:44:21 +02:00
search-instance:
name: 'PeerTube Search Index'
2020-09-18 16:29:32 +02:00
# Set an image instead of displaying your website title in text at the top of the search page
# Must be a relative URL. For example if you use a theme: /theme/mytheme/img/title.svg
name_image: ''
# The image between the title and the search bar
search_image: ''
2020-09-16 10:54:52 +02:00
description: 'A search engine of PeerTube videos and channels, developed by Framasoft'
2020-09-02 14:07:22 +02:00
legal_notices_url: ''
2020-09-18 16:29:32 +02:00
theme: 'default'
2020-08-27 14:44:21 +02:00
2020-02-13 11:49:03 +01:00
instances-index:
2020-05-28 15:00:37 +02:00
# Contains PeerTube instance hosts the indexer will index
# Must answer the following format: https://framagit.org/framasoft/peertube/instances-peertube#peertube-auto-follow-global-search
url: 'https://instances.joinpeertube.org/api/v1/instances/hosts'
2020-09-02 10:17:50 +02:00
# A public URL that will be displayed in the search page
# So your users can see what instances your search instance indexed
public_url: 'https://instances.joinpeertube.org'
2020-06-11 11:04:00 +02:00
# Useful to do tests
whitelist:
enabled: false
hosts: null
2020-09-23 11:17:43 +02:00
videos-search:
# Allow client to send browser language to boost results score that are in these languages
boost-languages:
enabled: true
2020-06-11 11:04:00 +02:00
api:
2020-08-27 14:44:21 +02:00
# Blacklist hosts that will not be returned by the search API
2020-06-11 11:04:00 +02:00
blacklist:
enabled: false
2020-08-27 14:44:21 +02:00
# Array of hosts
2020-06-11 11:04:00 +02:00
hosts: null