forked from FlorentTorregrosa/docker-drupal-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-common.yml
78 lines (62 loc) · 1.75 KB
/
docker-compose-common.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
version: "2.3"
services:
httpd:
image: httpd:2.4-alpine
volumes:
- ./conf/httpd/httpd.conf:/usr/local/apache2/conf/httpd.conf
- ./conf/httpd/extra/httpd-vhosts.conf:/usr/local/apache2/conf/extra/httpd-vhosts.conf
- .:/project
nginx:
image: nginx:1.15-alpine
volumes:
- ./conf/nginx:/etc/nginx/conf.d/
- .:/project
# PHP + Apache.
drupal-php-apache-dev:
image: florenttorregrosa/drupal-php-dev:7.1-apache
volumes:
- .:/project
- ./conf/php/php.ini:/usr/local/etc/php/php.ini
- ./conf/httpd/extra/httpd-vhosts.conf:/etc/apache2/sites-enabled/httpd-vhosts.conf
drupal-php-apache:
image: florenttorregrosa/drupal-php:7.1-apache
volumes:
- .:/project
- ./conf/php/php.ini:/usr/local/etc/php/php.ini
- ./conf/httpd/extra/httpd-vhosts.conf:/etc/apache2/sites-enabled/httpd-vhosts.conf
varnish:
image: florenttorregrosa/varnish:5-alpine
environment:
VCL_CONFIG: /varnish-drupal/varnish.vcl
volumes:
- ./conf/varnish:/varnish-drupal
mysql:
image: mariadb:10.3
environment:
MYSQL_ROOT_PASSWORD: root
volumes:
- ./conf/mysql:/etc/mysql/conf.d
redis:
image: redis:4.0-alpine
volumes:
- ./conf/redis/redis.conf:/usr/local/etc/redis/redis.conf
entrypoint:
- docker-entrypoint.sh
- /usr/local/etc/redis/redis.conf
solr:
image: solr:7.2-alpine
volumes:
- ./conf/solr:/solr-drupal/conf
entrypoint:
- docker-entrypoint.sh
- solr-precreate
- drupal
- /solr-drupal
mail:
image: djfarrelly/maildev
matomo_nginx:
image: nginx:1.15-alpine
volumes:
- ./conf/matomo_nginx/nginx.conf:/etc/nginx/nginx.conf:ro
environment:
- VIRTUAL_HOST