2023-08-02 17:01:09 +08:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
meilisearch:
|
|
|
|
container_name: ${CONTAINER_NAME}
|
|
|
|
networks:
|
|
|
|
- 1panel-network
|
2024-04-17 15:31:32 +08:00
|
|
|
image: getmeili/meilisearch:v1.7.6
|
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
|