mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-25 15:58:48 +08:00
29 lines
683 B
YAML
29 lines
683 B
YAML
services:
|
|
meilisearch:
|
|
container_name: ${CONTAINER_NAME}
|
|
image: getmeili/meilisearch:v1.9.0
|
|
restart: always
|
|
networks:
|
|
- 1panel-network
|
|
ports:
|
|
- ${PANEL_APP_PORT_HTTP}:7700
|
|
environment:
|
|
MEILI_CONFIG_FILE_PATH: /config/config.toml
|
|
MEILI_MASTER_KEY: ${MEILI_MASTER_KEY}
|
|
volumes:
|
|
- ./config:/config
|
|
- ./data:/meili_data
|
|
- ./dumps:/dumps
|
|
- ./snapshots:/snapshots
|
|
command: >
|
|
sh -c '
|
|
if [ "${MEILI_NO_ANALYTICS}" = "true" ]; then
|
|
/bin/meilisearch
|
|
else
|
|
/bin/meilisearch --no-analytics
|
|
fi'
|
|
labels:
|
|
createdBy: Apps
|
|
networks:
|
|
1panel-network:
|
|
external: true |