-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
78 lines (78 loc) · 1.72 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
71
72
73
74
75
76
77
78
services:
drupal-mysql-lib-unb-ca:
image: mariadb:10.11
restart: unless-stopped
command: mysqld --skip-name-resolve --max_allowed_packet=64M
env_file:
- ./env/mysql.env
expose:
- "3306"
networks:
- nblce.lib.unb.ca
volumes:
- mysql-data:/var/lib/mysql
drupal-solr-lib-unb-ca:
image: ghcr.io/unb-libraries/solr-drupal:8.x-4.x
restart: unless-stopped
env_file:
- ./env/solr.env
expose:
- "8983"
networks:
- nblce.lib.unb.ca
entrypoint:
- docker-entrypoint-multiple.sh
- resources.nblce.lib.unb.ca:/solr-conf
volumes:
- solr-data:/opt/solr/server/solr/mycores
drupal-redis-lib-unb-ca:
image: redis:5-alpine
restart: unless-stopped
expose:
- "6379"
networks:
- nblce.lib.unb.ca
env_file:
- ./env/redis.env
nblce-lib-unb-ca:
build:
context: .
restart: unless-stopped
container_name: nblce-lib-unb-ca
depends_on:
- drupal-mysql-lib-unb-ca
- drupal-solr-lib-unb-ca
- drupal-redis-lib-unb-ca
expose:
- "80"
networks:
- nblce.lib.unb.ca
ports:
- "3108:80"
env_file:
- ./env/drupal.env
volumes:
- drupal-data:/app/html/sites/default
- ./configuration:/app/configuration
- ./custom/modules:/app/html/modules/custom
- ./custom/themes:/app/html/themes/custom
- ./tests:/app/tests
mailhog:
image: mailhog/mailhog
restart: unless-stopped
expose:
- "1025"
- "8025"
ports:
- "4108:8025"
networks:
- nblce.lib.unb.ca
profiles:
- mailhog
networks:
nblce.lib.unb.ca:
name: nblce.lib.unb.ca
volumes:
drupal-data:
mysql-data:
solr-data: