mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-18 20:37:55 +00:00
Add support for meilisearch
This commit is contained in:
parent
6a04527456
commit
12e613188e
@ -243,6 +243,26 @@ services:
|
||||
- bind
|
||||
- httpd
|
||||
|
||||
# -----------------------------------------------------------------------------------------------
|
||||
# Meilisearch
|
||||
# -----------------------------------------------------------------------------------------------
|
||||
meilisearch:
|
||||
image: getmeili/meilisearch:${MEILI_SERVER:-latest}
|
||||
hostname: meilisearch
|
||||
command: meilisearch
|
||||
environment:
|
||||
- MEILI_MASTER_KEY=${MEILI_MASTER_KEY-""}
|
||||
ports:
|
||||
- "${LOCAL_LISTEN_ADDR}${HOST_PORT_MEILI:-7700}:7700"
|
||||
networks:
|
||||
app_net:
|
||||
ipv4_address: 172.16.238.203
|
||||
volumes:
|
||||
- devilbox-meilisearch:/meili_data
|
||||
depends_on:
|
||||
- bind
|
||||
- php
|
||||
- httpd
|
||||
|
||||
###
|
||||
### Volumes
|
||||
@ -252,3 +272,4 @@ volumes:
|
||||
devilbox-solr:
|
||||
devilbox-elastic:
|
||||
devilbox-logstash:
|
||||
devilbox-meilisearch:
|
||||
|
29
compose/docker-compose.override.yml-meilisearch
Normal file
29
compose/docker-compose.override.yml-meilisearch
Normal file
@ -0,0 +1,29 @@
|
||||
# vim: set ft=yaml:
|
||||
---
|
||||
version: '2.3'
|
||||
|
||||
services:
|
||||
|
||||
# -----------------------------------------------------------------------------------------------
|
||||
# Meilisearch
|
||||
# -----------------------------------------------------------------------------------------------
|
||||
meilisearch:
|
||||
image: getmeili/meilisearch:${MEILI_SERVER:-latest}
|
||||
hostname: meilisearch
|
||||
command: meilisearch
|
||||
environment:
|
||||
- MEILI_MASTER_KEY=${MEILI_MASTER_KEY-""}
|
||||
ports:
|
||||
- "${LOCAL_LISTEN_ADDR}${HOST_PORT_MEILI:-7700}:7700"
|
||||
networks:
|
||||
app_net:
|
||||
ipv4_address: 172.16.238.203
|
||||
volumes:
|
||||
- devilbox-meilisearch:/meili_data
|
||||
depends_on:
|
||||
- bind
|
||||
- php
|
||||
- httpd
|
||||
|
||||
volumes:
|
||||
devilbox-meilisearch:
|
Loading…
Reference in New Issue
Block a user