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'
|
hostname: 'localhost'
|
||||||
port: __PORT__
|
port: __PORT__
|
||||||
|
|
||||||
elastic-search:
|
meilisearch:
|
||||||
# https or http
|
host: 'http://127.0.0.1:7700'
|
||||||
http: 'http'
|
|
||||||
auth:
|
api_key: null
|
||||||
username: null
|
|
||||||
password: null
|
|
||||||
ssl:
|
|
||||||
# Specificy a custom CA
|
|
||||||
ca: null
|
|
||||||
hostname: 'localhost'
|
|
||||||
port: 9200
|
|
||||||
indexes:
|
indexes:
|
||||||
videos: 'peertube-index-videos'
|
videos: 'peertube-index-videos'
|
||||||
channels: 'peertube-index-channels'
|
channels: 'peertube-index-channels'
|
||||||
|
|
|
@ -58,10 +58,10 @@ ram.runtime = "2000M"
|
||||||
[resources.apt]
|
[resources.apt]
|
||||||
packages = ["git", ]
|
packages = ["git", ]
|
||||||
|
|
||||||
[resources.apt.extras.elastic]
|
[resources.apt.extras.meilisearch]
|
||||||
repo = "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main"
|
repo = "deb https://apt.fury.io/meilisearch/ /"
|
||||||
key = "https://artifacts.elastic.co/GPG-KEY-elasticsearch"
|
# key = "https://artifacts.elastic.co/GPG-KEY-elasticsearch"
|
||||||
packages = ["elasticsearch-oss"]
|
packages = ["meilisearch"]
|
||||||
|
|
||||||
[resources.apt.extras.yarn]
|
[resources.apt.extras.yarn]
|
||||||
repo = "deb https://dl.yarnpkg.com/debian/ stable main"
|
repo = "deb https://dl.yarnpkg.com/debian/ stable main"
|
||||||
|
|
Loading…
Add table
Reference in a new issue