This repository has been archived by the owner on Dec 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy path.lando.yml
64 lines (52 loc) · 1.51 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
name: bos-d7
recipe: drupal7
config:
webroot: docroot
xdebug: true
php: 7.2
database: mysql:5.7
services:
database:
type: mysql
portforward: 3308
host: localhost
run_as_root:
- apt-get update
- apt-get install python-pip python-setuptools -y
- pip install mycli
- apt-get install wget ca-certificates -y
- wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
- sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'
- apt-get update
- apt-get install pspg
creds:
user: drupal
password: drupal
database: drupal
node:
type: node
globals:
gulp-cli: "latest"
npm: "latest"
tooling:
build-bos:
service: appserver
description: "Run build script"
cmd: "./task.sh -Dbehat.run-server=true build:test"
drush:
service: appserver
cmd: drush --root=/app/docroot
mycli:
service: database
description: "Open mycli prompt in db container: lando mycli"
cmd: "mycli --user=drupal --password=drupal --database=drupal --defaults-file=/opt/bitnami/mysql/conf/bitnami/my_custom.cnf"
user: root
npm:
service: node
description: "Run npm commands in node container: lando npm <command>"
node:
service: node
description: "Run node commands in node container: lando node <command>"
gulp:
service: node
description: "Run node:gulp commands in node container: lando gulp <command>"