-
Notifications
You must be signed in to change notification settings - Fork 0
/
.lando.yml
79 lines (79 loc) · 1.59 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
name: calderapro
recipe: wordpress
config:
env: dev
xdebug: true
php: '7.2'
via: nginx
webroot: wordpress
proxy:
mailhog:
- mail.calderapro.lndo.site
pma:
- pma.calderapro.lndo.site
node:
- app.calderapro.lndo.site
api:
- api.calderapro.lndo.site
services:
appserver:
volumes:
./wp-content:/app/w
composer:
phpunit/phpunit: '*'
mailhog:
type: mailhog
hogfrom:
- appserver
portforward: true
pma:
type: phpmyadmin
hosts:
- database
- database.calderapro.internal
wptest:
type: php:custom
overrides:
services:
image: chriszarate/wordpress-phpunit
volumes:
- .:/app
- testsuite:/tmp
node:
type: node:10
ssl: true
command: yarn start
port: 3000
api:
type: php
ssl: true
webroot: api
tooling:
app:
description: "Start app front-end"
cmd: "cd $LANDO_MOUNT && yarn start"
service: node
composer:
service: appserver
wp:
service: appserver
wptests:
service: wptest
description: Runs WordPress tests
cmd: "phpunit"
user: root
wptests-now:
service: wptest
description: Runs WordPress tests
cmd: "phpunit --group=now"
user: root
wptests-i:
service: wptest
description: Installs WordPress tests
cmd: "cd $LANDO_MOUNT && bash scripts/wp/install-wp-tests.sh wordpress wordpress wordpress database"
user: root
dbTests:
service: wptest
description: Runs calderawp/caldera-db tests using main container
cmd: "cd $LANDO_MOUNT/php-packages/caldera-db && composer test:acceptance"
user: root