From 89f1b6357ebfc211b5becefc864fd78f4e361e82 Mon Sep 17 00:00:00 2001 From: PrivateGER Date: Thu, 25 May 2023 01:06:03 +0200 Subject: [PATCH] Meilisearch Config --- .config/example.yml | 7 +++++++ docker-compose.yml | 16 ++++++++++------ 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/.config/example.yml b/.config/example.yml index 7d8ba32be..7f83446a4 100644 --- a/.config/example.yml +++ b/.config/example.yml @@ -82,6 +82,13 @@ redis: # user: # pass: +# ┌───────────────────────────┐ +#───┘ Meilisearch configuration └───────────────────────────────────── +#meilisearch: +# host: meilisearch +# port: 7700 +# pass: + # ┌───────────────┐ #───┘ ID generation └─────────────────────────────────────────── diff --git a/docker-compose.yml b/docker-compose.yml index 5de14d0c8..e1f9c7224 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -40,14 +40,18 @@ services: volumes: - ./db:/var/lib/postgresql/data - sonic: - restart: unless-stopped - image: docker.io/valeriansaliou/sonic:v1.4.0 + meilisearch: + container_name: meilisearch + image: getmeili/meilisearch:v0.25.2 + environment: + - MEILI_ENV=${MEILI_ENV:-development} + ports: + - "7700:7700" networks: - - calcnet + - meilisearch volumes: - - ./sonic:/var/lib/sonic/store - - ./sonic/config.cfg:/etc/sonic.cfg + - ./data.ms:/data.ms + restart: unless-stopped networks: calcnet: