Skip to content

Instantly share code, notes, and snippets.

@Shelob9
Last active March 7, 2019 16:36
Show Gist options
  • Select an option

  • Save Shelob9/e67da7401003e71562c9c70879647bb0 to your computer and use it in GitHub Desktop.

Select an option

Save Shelob9/e67da7401003e71562c9c70879647bb0 to your computer and use it in GitHub Desktop.

Revisions

  1. Josh Pollock revised this gist Mar 7, 2019. No changes.
  2. Josh Pollock created this gist Mar 7, 2019.
    40 changes: 40 additions & 0 deletions .lando.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,40 @@
    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