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

View file

@ -40,21 +40,33 @@ services:
volumes: volumes:
- ./db:/var/lib/postgresql/data - ./db:/var/lib/postgresql/data
meilisearch: ### Only one of the below should be used.
container_name: meilisearch ### Meilisearch is better overall, but resource-intensive. Sonic is a very light full text search engine.
image: getmeili/meilisearch:v1.1.1
environment: # meilisearch:
- MEILI_ENV=${MEILI_ENV:-development} # container_name: meilisearch
ports: # image: getmeili/meilisearch:v1.1.1
- "7700:7700" # environment:
networks: # - MEILI_ENV=${MEILI_ENV:-development}
- calcnet # ports:
volumes: # - "7700:7700"
- ./meili_data:/meili_data # networks:
restart: unless-stopped # - 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: networks:
calcnet: calcnet:
# web: # web:
# external: # external:
# name: web # name: web