Last active
June 22, 2020 08:40
-
-
Save MGHollander/5d0eb8549ffb565da97256b4a3b3f3eb to your computer and use it in GitHub Desktop.
Local Lando config to speed up Lando for Drupal projects
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
excludes: | |
# General | |
- vendor | |
# Drupal 8 | |
- web | |
- '!web/sites' | |
- '!web/modules/custom' | |
- '!web/themes/custom' | |
# Drupal 7 | |
- includes | |
- misc | |
- modules | |
- profiles | |
- themes | |
# Yii 2 | |
- runtime | |
config: | |
xdebug: false | |
tooling: | |
xdebug-on: | |
service: appserver | |
description: Enable xdebug for Apache. | |
cmd: docker-php-ext-enable xdebug && service 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 && service apache2 reload | |
user: root | |
services: | |
appserver: | |
overrides: | |
environment: | |
PHP_IDE_CONFIG: serverName=<DOMAIN> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment