services: meilisearch: image: getmeili/meilisearch:v1.24 container_name: meili-showcase ports: ["7700:7700"] environment: MEILI_MASTER_KEY: ${MEILI_MASTER_KEY:-masterKey} MEILI_ENV: development volumes: - meili-data:/meili_data api: build: . ports: ["8080:8080"] environment: MEILI_HOST: http://meilisearch:7700 MEILI_MASTER_KEY: ${MEILI_MASTER_KEY:-masterKey} HTTP_ADDR: ":8080" depends_on: [meilisearch] # The API applies index settings at boot and exits if the engine is not up # yet; restarting is the whole retry policy this demo needs. restart: unless-stopped # Only the engine starts by default; add --profile full for the API too. profiles: ["full"] volumes: meili-data: