-
Notifications
You must be signed in to change notification settings - Fork 2
/
.lando.yml
52 lines (49 loc) · 1.42 KB
/
.lando.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
name: drupal-codeception
recipe: drupal8
config:
webroot: web
php: 7.3
via: apache:2.4
database: mariadb
tooling:
drush:
service: appserver
description: Run drush.
cmd: '/app/vendor/bin/drush --root=/app/web'
clean-install:
service: appserver
cmd: 'bash scripts/clean-install.sh'
codecept:
service: appserver
description: Test runner.
cmd: vendor/bin/codecept
xdebug-on:
service: appserver
description: Enable xdebug for Apache.
cmd: docker-php-ext-enable xdebug && service apache2 reload
user: root
xdebug-off:
service: appserver
description: Disable xdebug for Apache.
cmd: rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && service apache2 reload
user: root
services:
appserver:
build_as_root:
- curl -o /usr/local/share/ca-certificates/oneshoeCA.crt http://static.office.oneshoe.nl/ca.crt && update-ca-certificates
- pecl install pcov
build:
- composer install
config:
php: lando/php.ini
chromedriver:
type: compose
services:
image: robcherry/docker-chromedriver
# See https://github.com/RobCherry/docker-chromedriver/issues/7
privileged: true
environment:
# Override the container defaults to play nice with Codeception.
CHROMEDRIVER_URL_BASE: "/wd/hub"
CHROMEDRIVER_WHITELISTED_IPS: ""
command: ["/usr/local/bin/supervisord", "-c", "/etc/supervisord.conf"]