-
Notifications
You must be signed in to change notification settings - Fork 1
/
.lando.yml
66 lines (66 loc) · 1.38 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
name: accesio-lb
recipe: drupal9
config:
php: '8.0'
composer_version: 2
via: 'apache:2.4'
webroot: web
database: 'mysql:5.7'
drush: true
xdebug: true
config:
php: '.lando/config/php.ini'
events:
post-rebuild:
- node: './.lando/build/theme.sh'
services:
node:
type: 'node:14'
scanner: false
ssl: true
sslExpose: false
globals:
gulp-cli: latest
overrides:
ports:
- '32873:32873'
appserver:
xdebug: true
run:
- composer self-update
config:
php: '.lando/config/php.ini'
type: 'php:7.4'
overrides:
environment:
PHP_IDE_CONFIG: serverName=appserver
DRUSH_OPTIONS_URI: 'http://accesio-lb.lndo.site'
tooling:
build:
description: "Install NPMs"
cmd:
- node: './.lando/build/theme.sh'
node:
service: node
npm:
service: node
npx:
service: node
gulp:
service: node
dir: '/app/web/themes/custom/accesio'
cmd: gulp watch
theme:
cmd: './.lando/build_theme.sh'
description: Build for frontend theme.
service: node
xoff:
cmd: "rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && /etc/init.d/apache2 reload"
description: Disable xdebug.
service: appserver
user: root
xon:
cmd: "docker-php-ext-enable xdebug && /etc/init.d/apache2 reload"
description: Enable xdebug.
service: appserver
user: root