mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-28 22:46:13 +08:00
17a9a29b26
* chore(deps): update getmeili/meilisearch docker tag to v1.10.3 * 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.3
|
|
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 |