-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.lando.yml
82 lines (82 loc) · 2.04 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
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
name: casbsgryphon
recipe: drupal9
config:
webroot: docroot
php: "8.3"
xdebug: false
proxy:
appserver:
- casbs.lndo.site
adminer:
- adminer.casbs.lndo.site
services:
appserver:
composer_version: '2'
build_as_root:
# - apt-get update && apt-get install -y libmagickwand-dev
# - export PHP_IMAGICK_NS=autodetect && pecl install -n imagick
# - docker-php-ext-enable imagick
- pecl install pcov
- docker-php-ext-enable pcov
build:
# - composer install
volumes:
- ~/.acquia:/var/www/.acquia
ssl: true
config:
php: lando/php.ini
# Uncomment the below for behat testing
overrides:
environment:
MINK_DRIVER_ARGS_WEBDRIVER: '["chrome", {"browserName":"chrome","chromeOptions":{"args":["--disable-gpu","--headless"]}}, "http://chromedriver:4444"]'
BEHAT_PARAMS: >-
{
"extensions" : {
"Behat\\MinkExtension" : {
"base_url" : "http://casbs.lndo.site/"
}
}
}
database:
creds:
user: drupal
password: drupal
database: drupal
adminer:
type: compose
services:
image: dehy/adminer
command: /bin/s6-svscan /etc/services.d
portforward: true
# Uncomment the below for behat testing.
chromedriver:
type: lando
api: 3
ssl: false
sslExpose: false
services:
user: root
image: selenium/standalone-chrome:115.0
command: /opt/bin/entry_point.sh
volumes:
- /dev/shm:/dev/shm
ports:
- 4444
tooling:
blt:
service: appserver
cmd: /app/vendor/bin/blt
git:
service: appserver
phpcs:
service: appserver
cmd: "/app/vendor/bin/phpcs --standard=Drupal,DrupalPractice"
options:
description: Run phpcs for given folder or file.
phpunit:
service: appserver
cmd: "/app/vendor/bin/phpunit -c /app/docroot/core"
description: Run phpunit tests
codeception:
service: appserver
cmd: "/app/vendor/bin/blt tests:codeception:run"