add sonic back to compose

This commit is contained in:
PrivateGER 2023-05-26 10:05:46 +02:00 committed by PrivateGER
parent 274bfcd898
commit 56ddb0555b
1 changed files with 27 additions and 15 deletions

View File

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