-
Notifications
You must be signed in to change notification settings - Fork 5
/
.lando.yml
44 lines (36 loc) · 1.11 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
# Rename this file to .lando.yml to use, or delete if you already have one.
# Named start.lando.yml to not conflict with projects installed with lando mw install.
# project_code: cmm, apb_d7, etc.
name: jcc
# drupal8 | drupal7 | wordpress
recipe: drupal8
config:
# default: web | lightning: docroot
webroot: web
php: '8.1'
database: mariadb
composer_version: "2"
# Optionally activate xdebug
#
# If you are having trouble getting xdebug to work please see:
# https://docs.devwithlando.io/services/php.html#using-xdebug
#xdebug: true
# Custom Lando commands
tooling:
reset:
service: appserver
description: "Runs updb, cim, cr, \n Reset your local after a build or db install."
cmd:
- drush updb -y
- drush cim -y
- drush cr
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