Use meilisearch

This commit is contained in:
Salamandar 2024-07-09 23:12:32 +02:00
parent 69c0a7e643
commit 39226b8382
2 changed files with 9 additions and 15 deletions

View file

@ -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'

View file

@ -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"