From 777aaca05c0cfde93f0b8320d006d3e01568879d Mon Sep 17 00:00:00 2001 From: Kirill Roskolii Date: Fri, 16 Sep 2022 22:22:36 +1200 Subject: [PATCH] Add basic Lando configuration --- .gitignore | 2 ++ .lando.env | 10 ++++++++++ .lando.yml | 12 ++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 .lando.env create mode 100644 .lando.yml diff --git a/.gitignore b/.gitignore index 1924949..3d8ecdb 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,5 @@ Thumbs.db thumbs.db /composer.lock .phpunit.result.cache +# Ignore local user overrides. +.lando.local.env diff --git a/.lando.env b/.lando.env new file mode 100644 index 0000000..9a62f0c --- /dev/null +++ b/.lando.env @@ -0,0 +1,10 @@ +# Lando specific - uses user home directory to store Composer cache and other stuff. +# Helps to re-use Composer cache between projects. +COMPOSER_HOME=/user/.composer +# https://xdebug.org/docs/step_debug +# https://xdebug.org/docs/step_debug#client_host +# https://docs.lando.dev/config/php.html#configuration +PHP_IDE_CONFIG=serverName=behat-tableassert +# Ignore commands starting with space and duplicates. +HISTCONTROL=ignoreboth +HOME=/app diff --git a/.lando.yml b/.lando.yml new file mode 100644 index 0000000..d002fd4 --- /dev/null +++ b/.lando.yml @@ -0,0 +1,12 @@ +name: behat-tableassert +config: + xdebug: true +services: + php: + type: php:8.0 + via: cli + xdebug: "debug,develop" + +env_file: + - .lando.env + - .lando.local.env