-
Notifications
You must be signed in to change notification settings - Fork 1
/
.lando.yml
78 lines (67 loc) · 1.56 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
name: drupal-boilerplate
recipe: drupal10
config:
php: "8.2"
composer_version: "2"
webroot: web
proxy:
node:
# Change drupal-boilerplate to match "name:" when renaming project.
- "node-drupal-boilerplate.lndo.site:3000"
services:
appserver:
api: 3
healthcheck: drush sql:query ';'
overrides:
environment:
ENVIRONMENT_TYPE: development
DRUSH_OPTIONS_URI: "https://drupal-boilerplate.lndo.site"
build:
- composer install --profile
database:
api: 3
type: mariadb:custom
overrides:
image: bitnami/mariadb:10.11-debian-11
memcached:
api: 3
type: memcached:custom
mem: 64
overrides:
image: bitnami/memcached:1-debian-11
environment:
MEMCACHED_MAX_ITEM_SIZE: 8388608
mailhog:
api: 3
type: mailhog
overrides:
platform: linux/amd64
hogfrom:
- appserver
node:
api: 3
type: node:20
ssl: true
sslExpose: false
port: 3000
scanner: false
tooling:
npm:
service: node
description: Run NPM commands within the node service.
theme:
service: node
description: Run NPM commands for the theme.
dir: /app/web/themes/contrib/dvb
cmd: npm
phpcs:
service: appserver
description: Run PHPUnit tests.
cmd:
- appserver: /app/vendor/bin/phpcs --standard=/app/.phpcs.xml.dist -n -p web/themes/ web/modules/
events:
post-start:
- appserver: >
if ! drush status --field=bootstrap | grep -qi "successful"; then
drush si --existing-config --account-name=admin -y;
fi