appstore-1panel/apps/meilisearch/1.7.5/docker-compose.yml

27 lines
617 B
YAML
Raw Normal View History

2023-08-02 17:01:09 +08:00
version: "3"
services:
meilisearch:
container_name: ${CONTAINER_NAME}
networks:
- 1panel-network
image: getmeili/meilisearch:v1.7.5
2023-08-02 17:01:09 +08:00
command:
- /bin/sh
- -c
- /bin/meilisearch ${MEILI_NO_ANALYTICS}
labels:
createdBy: Apps
2023-08-02 18:17:06 +08:00
restart: always
2023-08-02 17:01:09 +08:00
ports:
2023-08-02 18:17:06 +08:00
- ${PANEL_APP_PORT_HTTP}:7700
2023-08-02 17:01:09 +08:00
environment:
MEILI_CONFIG_FILE_PATH: /config/config.toml
MEILI_MASTER_KEY: ${MEILI_MASTER_KEY}
volumes:
- ./config:/config
- ./data:/meili_data
- ./dumps:/dumps
2023-08-02 18:17:06 +08:00
- ./snapshots:/snapshots
networks:
1panel-network:
external: true