Skip to content

Instantly share code, notes, and snippets.

@Shelob9
Last active March 7, 2019 16:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Shelob9/e67da7401003e71562c9c70879647bb0 to your computer and use it in GitHub Desktop.
Save Shelob9/e67da7401003e71562c9c70879647bb0 to your computer and use it in GitHub Desktop.
Lando + xdebug phpStorm
name: formcalderas
recipe: wordpress
config:
env: dev
xdebug: true
php: '7.1'
proxy:
mailhog:
- mail.formcalderas.lndo.site
pma:
- pma.formcalderas.lndo.site
services:
appserver:
composer:
phpunit/phpunit: '*'
build:
- "cd $LANDO_MOUNT && composer update --prefer-source"
- "bash ./scripts/post-build.sh"
post-start:
- "cd $LANDO_MOUNT && composer update --prefer-source"
- "bash ./scripts/post-start.sh"
mailhog:
type: mailhog
hogfrom:
- appserver
portforward: true
# Add a phpmyadmin db frontend
pma:
# Use the latest version of phpmyadmin
type: phpmyadmin
# The databases you want to look at, this will default to a service called
# "database"
#
# You might want to run `lando info` on your app to see what databases you
# have available
hosts:
- database
- database.formcalderas.internal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment