add sonic back to compose

This commit is contained in:
PrivateGER 2023-05-26 10:05:46 +02:00 committed by PrivateGER
parent 2f20cf476b
commit 856e0359d5

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