Skip to content

Instantly share code, notes, and snippets.

@alexfinnarn
Created May 17, 2018 16:47
Show Gist options
  • Save alexfinnarn/f9f10af91f56b195a786ffe6e50a6421 to your computer and use it in GitHub Desktop.
Save alexfinnarn/f9f10af91f56b195a786ffe6e50a6421 to your computer and use it in GitHub Desktop.
My Half-assed Lando Config File
name: express
recipe: drupal7
config:
webroot: web
xdebug: true
php: "7.1"
conf:
php: config/php/zzzzzz-express-custom.ini
#database: config/mysql/.my.cnf
services:
appserver:
extras:
# Install nano for debugging.
#- apt-get update
#- apt-get install nano
# Try to copy over mySQL settings.
#- cat /app/config/mysql/my.cnf >> /etc/mysql/my.cnf
# Install Google Chrome for testing.
#- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
#- sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
#- apt-get update -y
#- apt-get install google-chrome-stable -y
#- google-chrome-stable --disable-gpu --headless --remote-debugging-address=0.0.0.0 --remote-debugging-port=9222 > /dev/null 2>&1 &
overrides:
services:
environment:
BEHAT_PARAMS: '{"extensions":{"Drupal\\DrupalExtension":{"drupal":{"drupal_root":"/app/web/express"}},"Behat\\MinkExtension":{"base_url":"http://express.lndo.site:8000/express","files_path":"/app/web/express/profiles/express/tests/behat/assets/"}}}'
DSLM_BASE: '/app/code/dslm_base'
PACKAGES_BASE: '/app/code/packages_base'
#cache:
#type: memcached:1.5
#mem: 128
#portforward: 11211
database:
portforward: 3308
tooling:
create-site:
service: appserver
cmd:
- "./scripts/create-site.sh"
add-tools:
service: appserver
cmd:
- "./scripts/add-tools.sh"
#test:
#service: appserver
#cmd:
#- /app/profiles/express/tests/behat/bin/behat -c behat.local.yml --verbose --tags '~@exclude_all_bundles&&~broken'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment