-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.lando.yml
99 lines (81 loc) · 1.93 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
name: drupal8-startup
# Configure the Drupal8 recipe
recipe: drupal8
config:
php: '7.2'
via: nginx
webroot: docroot
database: mariadb:10.1
xdebug: true
env_file:
- .env
# Service overrides and augments
# See: https://docs.devwithlando.io/config/services.html
services:
appserver:
build:
- cd $LANDO_MOUNT && composer install
# Optional - for Acquia hosting.
# cache:
# type: memcached
# mem: 128
cache:
type: redis
persist: true
# Add an indexing backend
# See: https://docs.devwithlando.io/services/solr.html
# Acquia currently only supports 4.10
# search:
# type: solr:4.10
# config:
# conf: "docroot/modules/contrib/search_api_solr/solr-conf/4.x"
# Platform.sh supports up to 6.6
# search:
# type: solr:6.6
# config:
# conf: conf/solr/solr-conf/6.x
# Add mailhog capturing
# See: https://docs.devwithlando.io/services/mailhog.html
mailhog:
type: mailhog
hogfrom:
- appserver
# Additional mailhog proxy settings so we get a nice URL for the mailhog ui
proxy:
mailhog:
- mail.startup.lndo.site
appserver_nginx:
- www.startup.lndo.site
# Development tools
tooling:
install:
descripion: Install/Re-install Site
service: appserver
cmd: ./scripts/install.sh
refresh:
descripion: Refresh (composer install, reload config, clear cache, etc.)
service: appserver
cmd: ./scripts/development/refresh.sh
reset:
description: Reset repo (remove generated files).
service: appserver
cmd: ./scripts/development/reset.sh
phpcs:
description: Run PHP Code Sniffer
service: appserver
cmd: ./bin/phpcs
phpunit:
description: Run PHPUnit
service: appserver
cmd: ./bin/phpunit
behat:
description: Run Behat
service: appserver
cmd:
- ./bin/behat
- -vv
- --config=test/behat/behat.yml
test:
description: Run all tests
service: appserver
cmd: ./scripts/development/tests.sh