diff --git a/docker-compose.yml b/docker-compose.yml index 9f503c4903..bf4e4fb8da 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -40,21 +40,33 @@ services: volumes: - ./db:/var/lib/postgresql/data - meilisearch: - container_name: meilisearch - image: getmeili/meilisearch:v1.1.1 - environment: - - MEILI_ENV=${MEILI_ENV:-development} - ports: - - "7700:7700" - networks: - - calcnet - volumes: - - ./meili_data:/meili_data - restart: unless-stopped +### Only one of the below should be used. +### Meilisearch is better overall, but resource-intensive. Sonic is a very light full text search engine. + +# meilisearch: +# container_name: meilisearch +# image: getmeili/meilisearch:v1.1.1 +# environment: +# - MEILI_ENV=${MEILI_ENV:-development} +# ports: +# - "7700:7700" +# networks: +# - calcnet +# volumes: +# - ./meili_data:/meili_data +# restart: unless-stopped + +# sonic: +# restart: unless-stopped +# image: docker.io/valeriansaliou/sonic:v1.4.0 +# networks: +# - calcnet +# volumes: +# - ./sonic:/var/lib/sonic/store +# - ./sonic/config.cfg:/etc/sonic.cfg networks: calcnet: - # web: - # external: - # name: web + # web: + # external: + # name: web