2019-02-23 11:02:13 +00:00
|
|
|
# vim: set ft=yaml:
|
2018-08-18 11:51:35 +00:00
|
|
|
version: '2.1'
|
|
|
|
|
|
|
|
services:
|
2019-02-23 11:02:13 +00:00
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------------------------
|
|
|
|
# Solr
|
|
|
|
# -----------------------------------------------------------------------------------------------
|
2018-08-18 11:51:35 +00:00
|
|
|
solr:
|
|
|
|
image: solr:${SOLR_SERVER:-latest}
|
|
|
|
hostname: solr
|
|
|
|
ports:
|
|
|
|
- "${LOCAL_LISTEN_ADDR}${HOST_PORT_SOLR:-8983}:8983"
|
|
|
|
networks:
|
|
|
|
app_net:
|
|
|
|
ipv4_address: 172.16.238.220
|
|
|
|
volumes:
|
2019-03-01 12:59:33 +00:00
|
|
|
- devilbox-solr:/opt/solr/server/solr/mycores
|
2018-08-18 11:51:35 +00:00
|
|
|
entrypoint:
|
|
|
|
- docker-entrypoint.sh
|
|
|
|
- solr-precreate
|
|
|
|
- ${SOLR_CORE_NAME:-devilbox}
|
|
|
|
depends_on:
|
|
|
|
- bind
|
|
|
|
- php
|
|
|
|
- httpd
|
|
|
|
|
|
|
|
volumes:
|
2019-03-01 12:59:33 +00:00
|
|
|
devilbox-solr:
|