forked from Islandora-Devops/isle-dc
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.local.yml
39 lines (38 loc) · 1.31 KB
/
docker-compose.local.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
# Container does not perform any initialization aside from importing env-vars from `confd`.
# Users are expected to manually set up their site using a combination of the following:
# - Makefile targets
# - composer requires / install
# - Drush commands
# - Manual changes to the codebase directory
version: "3.7"
networks:
default:
internal: true
gateway:
name: gateway
volumes:
drupal-sites-data:
solr-data:
services:
drupal:
#image: ${REPOSITORY:-islandora}/drupal:${DRUPAL_STATIC_TAG:-${TAG:-latest}}
image: ${REPOSITORY:-islandora}/drupal-static:static
volumes:
- ./codebase:/var/www/drupal:delegated
- drupal-sites-data:/var/www/drupal/web/sites/default/files
#- solr-data:/opt/solr/server/solr
depends_on:
# Requires a the very minimum a database.
- ${DRUPAL_DATABASE_SERVICE}
secrets:
- source: saml_secrets
# Extends docker-compose.solr.yml
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
secrets:
saml_secrets:
file: ./secrets/saml-secrets.yml