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

71 lines
1.8 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
meilisearch:
host: 'http://127.0.0.1:7700'
api_key: null
2020-02-13 11:49:03 +01:00
indexes:
videos: 'peertube-index-videos'
2020-02-19 15:39:35 +01:00
channels: 'peertube-index-channels'
2021-06-24 15:18:54 +02:00
playlists: 'peertube-index-playlists'
2020-02-13 11:49:03 +01:00
# Avoid updating index settings at startup
# Set to true when a new release of the search index updates index settings
force_settings_update_at_startup: false
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
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
2024-01-04 16:50:17 +01:00
indexer:
# How many hosts in parallel to index
host_concurrency: 10
# How much time to wait before bulk indexing in Meilisearch data
bulk_indexation_interval_ms: 10000
2024-06-11 16:39:56 +02:00
videos:
max_description_characters: 250