-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.lando.yml
61 lines (50 loc) · 1.16 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
name: drupal-celebrations
recipe: drupal9
config:
webroot: web
xdebug: false
php: '8.0'
overrides:
volumes:
- ${HOME}/.lando/composer_cache:/var/www/.composer
services:
appserver:
overrides:
environment:
SB_ENVIRONMENT: development
PHP_IDE_CONFIG: "serverName=appserver"
DRUSH_ALLOW_XDEBUG: 1
mailhog:
type: mailhog
hogfrom:
- appserver
node:
type: node
globals:
yarn: "latest"
run:
- "cd $LANDO_MOUNT/web/themes/custom/drupal_celebrations && yarn && yarn develop"
phpcs:
type: compose
services:
image: willhallonline/drupal-phpcs:alpine
command: tail -f /dev/null
tooling:
xdebug-on:
service: appserver
description: Enable xdebug for apache.
cmd: "docker-php-ext-enable xdebug && /etc/init.d/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 && /etc/init.d/apache2 reload"
user: root
yarn:
service: node
phpcs:
service: phpcs
user: root
events:
post-start:
- appserver: composer install