File size: 472 Bytes
66e8b88
 
 
 
622f76c
 
66e8b88
fe4b466
66e8b88
 
 
6aaba8f
66e8b88
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Use the official MeiliSearch image as a base
FROM getmeili/meilisearch:v1.0

# Set environment variables
ENV MEILI_HOST=http://meilisearch:1100
ENV MEILI_HTTP_ADDR=meilisearch:1100
ENV MEILI_NO_ANALYTICS=true
ENV MEILI_MASTER_KEY=DrhYf7zENyR6AlUCKmnz0eYASOQdl6zxH7s7MKFSfFCt

# Create and set the MeiliSearch data directory
RUN mkdir -p /meili_data
RUN chmod -R 777 /meili_data
VOLUME ["/meili_data"]

# The base image already defines an ENTRYPOINT that runs MeiliSearch