71 lines
1.8 KiB
YAML
71 lines
1.8 KiB
YAML
listen:
|
|
hostname: 'localhost'
|
|
port: 3234
|
|
|
|
webserver:
|
|
https: false
|
|
hostname: 'localhost'
|
|
port: 3234
|
|
|
|
meilisearch:
|
|
host: 'http://127.0.0.1:7700'
|
|
|
|
api_key: null
|
|
|
|
indexes:
|
|
videos: 'peertube-index-videos'
|
|
channels: 'peertube-index-channels'
|
|
playlists: 'peertube-index-playlists'
|
|
|
|
# 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
|
|
|
|
log:
|
|
level: 'debug' # debug/info/warning/error
|
|
|
|
search-instance:
|
|
name: 'PeerTube Search Index'
|
|
|
|
# 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: ''
|
|
|
|
description: 'A search engine of PeerTube videos and channels, developed by Framasoft'
|
|
legal_notices_url: ''
|
|
theme: 'default'
|
|
|
|
instances-index:
|
|
# 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'
|
|
|
|
# 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'
|
|
|
|
# Useful to do tests
|
|
whitelist:
|
|
enabled: false
|
|
hosts: null
|
|
|
|
api:
|
|
# Blacklist hosts that will not be returned by the search API
|
|
blacklist:
|
|
enabled: false
|
|
# Array of hosts
|
|
hosts: null
|
|
|
|
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
|
|
|
|
videos:
|
|
max_description_characters: 250
|