-
Notifications
You must be signed in to change notification settings - Fork 1
/
.lando.yml
49 lines (48 loc) · 1.07 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
# lando rebuild -y
# lando composer install
# lando php artisan key:generate
# lando php artisan migrate
# lando php -i | grep upload_max_filesize
# lando ssh --service appserver --user root --command "cat /etc/passwd"
# lando conteiner location
# /path/to/my/app => /app
# $HOME => /user
name: ecadev
recipe: drupal8
config:
webroot: docroot
php: '7.4'
database: mysql:5.7
# database: mysql:8.0
myservice:
type: mysql
creds:
user: mysql -> drupal8
password: mysql -> drupal8
database: database -> drupal8
composer_version: 1-latest
via: apache
services:
appserver:
run_as_root:
- ln -snf /usr/share/zoneinfo/America/Sao_Paulo /etc/localtime
- echo "America/Sao_Paulo" > /etc/timezone
node:
type: node:12
ssl: false
build:
- cd /app/docroot/themes/custom/eca && yarn
globals:
npm-cli: latest
gulp-cli: latest
tooling:
npm:
service: node
node:
service: node
gulp:
service: node
yarn:
service: node
drupal:
cmd: "/app/vendor/drupal/console/bin/drupal --root=/app/docroot"