Update Compose file to support Meilisearch and Elasticsearch

This commit is contained in:
itepechi 2023-09-16 06:58:23 +09:00
parent d4b5b50ec4
commit c5000d67a6
1 changed files with 15 additions and 0 deletions

View File

@ -34,6 +34,21 @@ services:
- ./static/:/var/lib/akkoma/static/:Z
- ./uploads/:/var/lib/akkoma/uploads/:Z
- ./etc/:/etc/akkoma/:Z
## Comment out the following container if you want to use Meilisearch
# meili:
# image: getmeili/meilisearch:v1.3
# restart: unless-stopped
# environment:
# MEILI_NO_ANALYTICS: true
## Comment out the following container if you want to use Elasticsearch
# elastic:
# image: elasticsearch:7.17.13
# environment:
# discovery.type: single-node
# xpack.security.enabled: false
## Enable the following volume if you are running Docker in emulated
## environments and getting permission errors
# volumes: