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
Call to action
Did you like this post? You can help me back in several ways: (use the "reply" link on the right to comment or to contact me )
- Report any error/typo.
- Report something that could be improved.
- Like and repost!
- Follow me on Bluesky 🦋
- Subscribe to the RSS feed.
- Click on the More on Stackoverflow buttons to make me win "Announcer" badges 🏅.
Thank you for reading! And see you soon on Strangebuzz! 😉
