-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
121 lines (112 loc) · 2.77 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
version: '3.4'
services:
drupal.test:
hostname: ${HOSTNAME}
image: codementality/apache2
expose:
- 9000
ports:
- 80:80
- 443:443
volumes:
- ./:/var/www/html:cached # User-guided caching
environment:
TZ: 'EST5EDT'
WEB_ALIAS_DOMAIN: 'www.${HOSTNAME}'
WEB_DOCUMENT_ROOT: '/var/www/html/docroot'
depends_on:
- php
- db
php:
image: codementality/php7.3
volumes:
- ./:/var/www/html:cached # User-guided caching
- ./docker/php/conf.d/php.ini:/etc/php/7.3/fpm/conf.d/50-overrides.ini
environment:
TZ: 'EST5EDT'
PHP_IDE_CONFIG: "serverName=docker"
# Switch remote_host to 127.0.0.1 for Linux.
# Switch remote_enable to 0 to disable xDebug within the container. See following two lines.
XDEBUG_CONFIG: "remote_enable=1 remote_host=10.254.254.254"
#XDEBUG_CONFIG: "remote_enable=0"
COMPOSER_MEMORY_LIMIT: -1
WEB_ALIAS_DOMAIN: 'www.${HOSTNAME}'
WEB_PHP_SOCKET: 'php:9000'
WEB_DOCUMENT_ROOT: '/var/www/html/docroot'
depends_on:
- db
db:
hostname: db.${HOSTNAME}
image: mariadb
environment:
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
MYSQL_DATABASE: ${MYSQL_DATABASE}
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
ports:
- 33306:3306
volumes:
- dbdata:/var/lib/mysql
solr.drupal.test:
hostname: solr.${HOSTNAME}
image: solr:6.6
ports:
- 8983:8983
volumes:
- solr:/opt/solr/server/solr/d8
- ./config/solr/6.x:/solr-conf/conf
entrypoint:
- docker-entrypoint.sh
- solr-precreate
- d8
- /solr-conf
depends_on:
- drupal.test
mailhog:
image: mailhog/mailhog
ports:
- 8025
depends_on:
- drupal.test
memcached:
image: memcached:1.5
ports:
- 11211
depends_on:
- drupal.test
- php
fetools:
build: docker/fetools
depends_on:
- drupal.test
volumes:
- node_modules:/data/themesrc/node_modules
- ./themesrc/config:/data/themesrc/config
- ./themesrc/gulpfile.js:/data/themesrc/gulpfile.js
- ./themesrc/themes:/data/themesrc/themes
- ./docroot:/data/docroot
selenium:
image: selenium/standalone-chrome:3.14.0
ports:
- 4444:4444
volumes:
- /dev/shm:/dev/shm
depends_on:
- drupal.test
- php
pa11y:
image: prometsource/docker-pa11y-ci:0.10
volumes:
- ./tests/pa11y/wcag2-config.json:/workspace/wcag2-config.json
depends_on:
- drupal.test
volumes:
## persistent data volume for mysql data
dbdata:
driver: local
## persistent data volume for Solr
solr:
driver: local
##$ persistent data volume for node_modules
node_modules:
driver: local