-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.lando.yml
78 lines (61 loc) · 1.54 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
name: groot
recipe: wordpress
config:
webroot: wp
php: '8.2'
services:
appserver:
run_as_root:
- apt-get update
- apt-get install zip
run:
- cd $LANDO_MOUNT && composer install
- cd $LANDO_MOUNT && scripts/setup-wordpress.sh
overrides:
environment:
# Pass any non-empty CI envvar from the host into Lando
# This is so we can force non-interactive mode setting up WP
CI: ${CI:-''}
database:
type: mysql
node:
type: node:14
globals:
webpack: "latest"
yarn: "latest"
run:
- yarn
tooling:
install:
service: appserver
cmd: '/app/scripts/setup-wordpress.sh'
description: 'Install and configure WordPress for custom theme dev'
yarn:
service: node
debug:
service: appserver
cmd: 'tail -f /app/wp/wp-content/debug.log'
description: 'Get real-time WP debug log output'
webpack:
service: node
cmd: 'node_modules/.bin/webpack'
description: 'Run arbitrary webpack commands'
sniff:
service: appserver
cmd: 'composer sniff'
description: 'Run phpcs code sniffer'
sniff-summary:
service: appserver
cmd: 'composer sniff-summary'
description: 'Summarize phpcs results'
sniff-fix:
service: appserver
cmd: 'composer sniff-fix'
description: 'Fix coding standards issues that are automatically fixable'
release:
service: appserver
cmd: '/app/scripts/build-release.sh'
description: 'Build a downloadable release archive of Groot'
proxy:
appserver:
- groot.lndo.site