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

45 lines
1.1 KiB
YAML

listen:
hostname: 'localhost'
port: 3234
webserver:
https: false
hostname: 'localhost'
port: 3234
elastic_search:
hostname: 'localhost'
port: 9200
indexes:
videos: 'peertube-index-videos'
channels: 'peertube-index-channels'
log:
level: 'debug' # debug/info/warning/error
search-instance:
name: 'PeerTube Search Index'
description: 'Search for your favorite PeerTube videos and channels!'
legal_notices_url: ''
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