-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.lando.yml
113 lines (103 loc) · 2.16 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
name: operations
recipe: drupal9
config:
webroot: web
php: '8.1'
drush: ^10
xdebug: 'develop,debug'
# See https://github.com/lando/lando/issues/2948#issuecomment-1003484299
database: mysql:8.0
config:
database: /dev/null
proxy:
appserver:
- operations.lndo.site
#
# mercury_web:
# - mercury.lndo.site
#
# mars_web:
# - mars.lndo.site
venus_web:
- venus.lndo.site
- mars.lndo.site
- mercury.lndo.site
services:
appserver:
build:
- 'export PATH="/var/www/.composer/vendor/bin"'
- 'composer install'
xdebug: true
# overrides:
# environment:
# DRUSH_OPTIONS_URI: "https://ox.lndo.site"
#
mercury_web:
type: php:8.1
webroot: web
xdebug: true
mars_web:
type: php:8.1
webroot: web
xdebug: true
venus_web:
type: php:8.1
webroot: web
xdebug: true
#
# operations:
# type: mysql:8.0
# portforward: 33067
## config:
## confd: lando/mysql/conf.d
#
operations:
type: mysql:8.0
portforward: 33067
mercury:
type: mysql:8.0
portforward: 33068
# config:
# confd: lando/mysql/conf.d
venus:
type: mysql:8.0
portforward: 33069
# config:
# confd: .lando/mysql/conf.d
mars:
type: mysql:8.0
portforward: 33070
# config:
# confd: .lando/mysql/conf.d
#
tooling:
sync:
service: appserver
cmd: "drush sql:sync --extra-dump=--single-transaction=false @live @self"
phpcs:
service: appserver
cmd: "phpcs"
options:
description: Run phpcs for given folder or file.
drupal-check:
service: appserver
cmd: "drupal-check"
options:
description: Run drupal-check for given folder or file.
twig-lint:
service: appserver
cmd: "php /var/www/twig-lint.phar"
options:
description: Run twig-lint for given folder or file.
eslint:
service: node
cmd: "node ./node_modules/eslint/bin/eslint.js --config=.eslintrc.json"
options:
description: Run jshint for given folder or file.
stylelint:
service: node
cmd: "npx stylelint --config=.stylelintrc.json"
options:
description: Run stylelint for given folder or file.
drush:
service: appserver