forked from Islandora-Devops/isle-dc
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.solr.yml
28 lines (28 loc) · 1.14 KB
/
docker-compose.solr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
version: "3.7"
networks:
default:
internal: true
gateway:
external:
name: gateway
services:
solr:
image: ${REPOSITORY:-islandora}/solr:${TAG:-latest}
# No volumes are defined here, other docker-compose.yml files such as
# docker-compose.demo.yml are expected to extend this definition based
# on their workflow.
networks:
default:
# Allow services to use the edge name to reference this service.
# This allows links from the Drupal administration page to lead
# to the appropriate solr server.
aliases:
- solr-${COMPOSE_PROJECT_NAME-isle-dc}.${DRUPAL_SITE_HOST-traefik.me}
- solr-${COMPOSE_PROJECT_NAME-isle-dc}-${DRUPAL_SITE_HOST-traefik.me}
gateway: # Do not expose in production.
labels:
# Do not expose in production.
- traefik.enable=true
- traefik.http.services.${COMPOSE_PROJECT_NAME-isle-dc}-solr.loadbalancer.server.port=8983
- traefik.http.routers.${COMPOSE_PROJECT_NAME-isle-dc}-solr_http.service=${COMPOSE_PROJECT_NAME-isle-dc}-solr
- traefik.http.routers.${COMPOSE_PROJECT_NAME-isle-dc}-solr_http.entrypoints=http