forked from Islandora-Devops/isle-dc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.demo.yml
39 lines (39 loc) · 1.44 KB
/
docker-compose.demo.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
29
30
31
32
33
34
35
36
37
38
39
# This is just an example of of creating a Drupal 8 site with Islandora from
# scratch as a series of startup scripts before the nginx server starts.
#
# Its primary use is for testing changes to the containers.
#
# Organizations should not use this as their base instead they should refer
# to the documentation in this project for the correct approach.
version: "3.7"
networks:
default:
internal: true
gateway:
external:
name: gateway
volumes:
drupal-sites-data:
solr-data:
services:
# The service name is drupal that is the default host name used by micro-services etc.
drupal:
image: ${REPOSITORY:-islandora}/demo:${TAG:-latest}
volumes:
- drupal-sites-data:/var/www/drupal/web/sites/default/files
# Used to dump solr configuration directly into solr instance via the search_api_solr module.
- solr-data:/opt/solr/server/solr
depends_on:
# Demo cannot start unless these services are running.
- solr
- fcrepo
- ${DRUPAL_DATABASE_SERVICE}
- activemq
- blazegraph
# Extends docker-compose.solr.yml so that they share a volume.
solr:
volumes:
# On a production site you may not want to take this approach but instead refer to each of the cores
# data directories specifically and maintain the configuration as part of a customized image, where
# in your configuration is Solr managed under source control somewhere.
- solr-data:/opt/solr/server/solr