-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.lando.yml
35 lines (35 loc) · 859 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
34
35
name: cg
recipe: drupal9
config:
webroot: web
php: '8.1'
composer_version: '2'
drush: '*'
xdebug: develop,debug
config:
database: config/my-custom.cnf
services:
database:
type: mysql:8.0.30
appserver:
webroot: ./web
xdebug: true
overrides:
environment:
DRUSH_OPTIONS_URI: 'https://cg.lndo.site'
PHP_IDE_CONFIG: "serverName=cg.lndo.site"
XDEBUG_SESSION_START: LANDO
tooling:
drush:
service: appserver
cmd: drush --root=/app/web
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