mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-14 10:41:54 +08:00
0fe6ef1ff7
* chore(deps): update getmeili/meilisearch docker tag to v1.10.1 * Update app version [skip ci] --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
29 lines
684 B
YAML
29 lines
684 B
YAML
services:
|
|
meilisearch:
|
|
container_name: ${CONTAINER_NAME}
|
|
image: getmeili/meilisearch:v1.10.1
|
|
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 |