This repository has been archived by the owner on Mar 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
70 lines (69 loc) · 1.58 KB
/
docker-compose.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Run docker-compose run -d
# drush config-import
# If running Linux, make sure /persistent/iiifcache has 100:100 ownership
# If running Linux, make sure /persistent/solrcore has 8983:8983 ownership
# enabling :cache for the volumens can bypass that need.
version: '3.5'
services:
web:
container_name: esmero-web
restart: always
image: "esmero/drupal8-dev:8.4.5"
depends_on:
- solr
tty: true
ports:
- "80:80"
networks:
- host-net
- esmero-net
volumes:
- /persistent/drupal8:/var/www/html:cached
solr:
container_name: esmero-solr
restart: always
image: "solr:7.5.0"
tty: true
ports:
- "8983:8983"
networks:
- host-net
- esmero-net
volumes:
- /persistent/solrcore:/opt/solr/server/solr/mycores
- /persistent/solrconfig:/drupalconfig
entrypoint:
- docker-entrypoint.sh
- solr-precreate
- drupal
- /drupalconfig
# see https://hub.docker.com/_/mysql/
db:
image: mysql:5.7
container_name: esmero-db
restart: always
environment:
MYSQL_ROOT_PASSWORD: esmerodb
networks:
- host-net
- esmero-net
volumes:
- /persistent/db:/var/lib/mysql
iiif:
container_name: esmero-cantaloupe
image: "esmero/cantaloupe-s3:4.0.1"
restart: always
ports:
- "8183:8182"
networks:
- host-net
- esmero-net
volumes:
- /persistent/iiifconfig:/etc/cantaloupe
- /persistent/iiifcache:/var/cache/cantaloupe
networks:
host-net:
driver: bridge
esmero-net:
driver: bridge
internal: true