Docker compose file for Meilisearch
Published on 2023-05-22 • Modified on 2023-05-27
Here is a working docker compose file for Meilisearch ready to copy/paste into your project. Access the GUI at the http://127.0.0.1:7700
local URL.
version: '3.7'
# dockercompose -f docker-compose.yaml up -d
services:
###< meilisearch/meilisearch-php ###
# https://docs.meilisearch.com/learn/cookbooks/docker.html#download-meilisearch-with-docker
meilisearch:
image: getmeili/meilisearch:v1.1.1
volumes:
- ./data.ms:/data.ms
ports:
- "7700:7700"
environment:
- MEILI_MASTER_KEY=${MEILI_MASTER_KEY:-ms}
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7700"]
interval: 10s
timeout: 5s
retries: 5
###< meilisearch/meilisearch-php ###
Read the doc More on the web Random snippet