Last active
March 4, 2020 20:36
-
-
Save gonssal/14d26265e9b88c0bf2afb474e80ef286 to your computer and use it in GitHub Desktop.
Drupal 8 + PHPMyAdmin Lando config file
This file contains 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
name: example | |
recipe: drupal8 | |
config: | |
webroot: web | |
xdebug: true | |
tooling: | |
drush: | |
service: appserver | |
cmd: | |
- "drush" | |
- "--root=/app/web" | |
services: | |
# PHPMyAdmin | |
pma: | |
type: phpmyadmin | |
hosts: | |
- database | |
overrides: | |
services: | |
environment: | |
# PMA_ARBITRARY: 1 | |
# PMA_HOST: database | |
PMA_USER: drupal8 | |
PMA_PASSWORD: drupal8 | |
proxy: | |
appserver: | |
- example.lndo.site | |
- "*.example.lndo.site" | |
pma: | |
- example-pma.lndo.site | |
events: | |
# Clear caches after a database import | |
post-db-import: | |
- appserver: cd $LANDO_WEBROOT && drush cr -y | |
# Runs composer install after the app starts | |
post-start: | |
- appserver: cd $LANDO_MOUNT && composer install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment