-
Notifications
You must be signed in to change notification settings - Fork 1
/
.lando.yml
executable file
·51 lines (49 loc) · 1.7 KB
/
.lando.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: d8graphql
recipe: drupal8
config:
php: '7.2'
via: nginx
webroot: docroot
drush: composer
database: mysql:5.7
xdebug: true
events:
post-db-import:
- appserver: cd $LANDO_WEBROOT && drush cr -y
post-install:
- appserver: cd $LANDO_WEBROOT && drush sql-drop --yes
- appserver: cd $LANDO_WEBROOT && drush si --db-url=mysql://drupal8:drupal8@database:3306/drupal8 --locale='en' --site-name='D8 and Graphql' --site-mail='[email protected]' --account-name='admin' --account-mail='[email protected]' --account-pass='admin' --yes
- appserver: cd $LANDO_WEBROOT && drush en graphql graphql_core
post-devel:
- appserver: cd $LANDO_WEBROOT && drupal site:mode dev
- appserver: cd $LANDO_WEBROOT && drush then adminimal_theme
- appserver: cd $LANDO_WEBROOT && drush config-set system.theme admin adminimal_theme --yes
- appserver: cd $LANDO_WEBROOT && drush en adminimal_admin_toolbar admin_toolbar_tools admin_toolbar_links_access_filter -y
- appserver: cd $LANDO_WEBROOT && drush en kint --yes
- appserver: cd $LANDO_WEBROOT && drupal moi devel #webprofiler
post-update:
- appserver: cd $LANDO_MOUNT && composer update
- appserver: cd $LANDO_WEBROOT && drupal updb
- appserver: cd $LANDO_WEBROOT && drupal upe
services:
appserver:
build:
- "cd $LANDO_MOUNT && composer install"
- "cd $LANDO_MOUNT && ./bin/phing lando-build"
config:
http: config/nginx.conf
tooling:
install:
description: Install Application
cmd: true
service: appserver
devel:
description: Enable devel systems
cmd: true
service: appserver
update:
description: Update Application
cmd: true
service: appserver
node:
service: node