-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
47 lines (42 loc) · 964 Bytes
/
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
version: '3.6'
services:
drupal:
build: .
depends_on:
- db
ports:
- 8888:80
volumes:
# Mount the module in the proper contrib module directory.
- .:/var/www/html/modules/contrib/home_redirect_lang
- ./docker/php/php.ini:/usr/local/etc/php/conf.d/custom.ini
restart: unless-stopped
db:
image: mariadb:10.3.8
environment:
MYSQL_USER: drupal
MYSQL_PASSWORD: drupal
MYSQL_DATABASE: drupal
MYSQL_ROOT_PASSWORD: root
restart: unless-stopped
chrome:
image: drupalci/webdriver-chromedriver:production
depends_on:
- drupal
ulimits:
core:
soft: -1
hard: -1
cap_add:
- SYS_ADMIN
ports:
- "4444:4444"
- "9515:9515"
volumes:
- /dev/shm:/dev/shm
entrypoint:
- chromedriver
- "--log-path=/tmp/chromedriver.log"
- "--verbose"
- "--whitelisted-ips="
- "--allowed-origins=*"