-
Notifications
You must be signed in to change notification settings - Fork 0
/
.lando.yml
33 lines (30 loc) · 921 Bytes
/
.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
name: myproject
recipe: drupal10
config:
# Xdebug off by default.
# Use the tooling below to turn it on as needed.
xdebug: false
# Disable access to your SSH keys by default.
# @see https://docs.lando.dev/core/v3/ssh.html#customizing
keys: false
services:
appserver:
webroot: web
config:
php: .vscode/php.ini
overrides:
environment:
XDEBUG_MODE: 'debug,develop'
run:
- composer install -o
tooling:
xdebug-on:
service: appserver
description: Enable xdebug for Apache.
cmd: rm -f /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && docker-php-ext-enable xdebug && /etc/init.d/apache2 reload && echo "Xdebug enabled"
user: root
xdebug-off:
service: appserver
description: Disable xdebug for Apache.
cmd: rm -f /usr/local/etc/phprm /conf.d/docker-php-ext-xdebug.ini && /etc/init.d/apache2 reload && echo "Xdebug disabled"
user: root