-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.lando.yml
82 lines (77 loc) · 1.77 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
name: starterboilerplate
# See: https://docs.devwithlando.io/tutorials/wordpress.html
recipe: wordpress
config:
php: '7.4'
webroot: public
database: mariadb
xdebug: true
config:
php: private/config/php.ini
# See: https://docs.devwithlando.io/config/proxy.html
proxy:
appserver:
- web.starterboilerplate.lndo.site
node:
- node.starterboilerplate.lndo.site
database:
- db.starterboilerplate.lndo.site
mailhog:
- mail.starterboilerplate.lndo.site
pma:
- pma.starterboilerplate.lndo.site
# See: https://docs.devwithlando.io/config/services.html
services:
appserver:
run_as_root:
- "chown www-data: -R /app"
node:
type: node:18
globals:
npm: "latest"
yarn: "latest"
gulp-cli: "latest"
database:
portforward: 3308
creds:
user: wordpress
password: wordpress
database: wordpress
mailhog:
type: mailhog
hogfrom:
- appserver
portforward: 1026
pma:
type: phpmyadmin
hosts: database
# See: https://docs.devwithlando.io/config/tooling.html
tooling:
node:
service: node
npm:
service: node
yarn:
service: node
gulp:
service: node
dep:
service: appserver
description: run deployer commands
cmd:
- "vendor/bin/deployer.phar"
phpcs:
service: appserver
description: "Analyze code against the WordPress coding standards with PHP_CodeSniffer"
cmd:
- "vendor/bin/phpcs"
phpcbf:
service: appserver
description: "Fix coding standards warnings/errors automatically with PHP Code Beautifier"
cmd:
- "vendor/bin/phpcbf"
# See: https://docs.devwithlando.io/config/events.html
events:
post-start:
- appserver: cd $LANDO_MOUNT && composer install
- node: cd $LANDO_MOUNT && npm install --save-dev