mirror of
https://github.com/YunoHost-Apps/peertube-search-index_ynh.git
synced 2024-09-03 19:56:30 +02:00
Use meilisearch
This commit is contained in:
parent
69c0a7e643
commit
39226b8382
2 changed files with 9 additions and 15 deletions
|
@ -7,17 +7,11 @@ webserver:
|
|||
hostname: 'localhost'
|
||||
port: __PORT__
|
||||
|
||||
elastic-search:
|
||||
# https or http
|
||||
http: 'http'
|
||||
auth:
|
||||
username: null
|
||||
password: null
|
||||
ssl:
|
||||
# Specificy a custom CA
|
||||
ca: null
|
||||
hostname: 'localhost'
|
||||
port: 9200
|
||||
meilisearch:
|
||||
host: 'http://127.0.0.1:7700'
|
||||
|
||||
api_key: null
|
||||
|
||||
indexes:
|
||||
videos: 'peertube-index-videos'
|
||||
channels: 'peertube-index-channels'
|
||||
|
|
|
@ -58,10 +58,10 @@ ram.runtime = "2000M"
|
|||
[resources.apt]
|
||||
packages = ["git", ]
|
||||
|
||||
[resources.apt.extras.elastic]
|
||||
repo = "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main"
|
||||
key = "https://artifacts.elastic.co/GPG-KEY-elasticsearch"
|
||||
packages = ["elasticsearch-oss"]
|
||||
[resources.apt.extras.meilisearch]
|
||||
repo = "deb https://apt.fury.io/meilisearch/ /"
|
||||
# key = "https://artifacts.elastic.co/GPG-KEY-elasticsearch"
|
||||
packages = ["meilisearch"]
|
||||
|
||||
[resources.apt.extras.yarn]
|
||||
repo = "deb https://dl.yarnpkg.com/debian/ stable main"
|
||||
|
|
Loading…
Reference in a new issue