forked from lando/lando
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.lando.yml
76 lines (75 loc) · 1.87 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
name: lando
env_file:
- lando.env
excludes:
- node_modules
proxy:
api:
- api.lndo.site:8011
blog:
- blog.lndo.site:8007
docs:
- docs.lndo.site:8008
site:
- site.lndo.site:8009
metrics:
- metrics.lndo.site:8010
services:
cli:
type: node:10
build:
- yarn install
api:
type: node:10
command: yarn run dev:api
overrides:
environment:
LANDO_API_PORT: 8011
port: 8011
blog:
type: node:10
command: "su -c 'cd /app && yarn --link-folder /home/node --cache-folder /home/node dev:blog' --preserve-environment - node"
port: 8007
overrides:
environment:
LANDO_API: https://api.lndo.site
docs:
type: node:10
command: "su -c 'cd /app && yarn --link-folder /home/node --cache-folder /home/node dev:docs' --preserve-environment - node"
port: 8008
overrides:
environment:
LANDO_API: https://api.lndo.site
site:
type: node:10
command: "su -c 'cd /app && yarn --link-folder /home/node --cache-folder /home/node dev:site' --preserve-environment - node"
port: 8009
overrides:
environment:
LANDO_API: https://api.lndo.site
metrics:
type: node:10
command: yarn run dev:metrics
overrides:
environment:
LANDO_METRICS_PORT: 8010
port: 8010
platform:
type: php:7.3
via: cli
build:
- mkdir -p /var/www/.platformsh/bin
- curl -fsSL -o /var/www/.platformsh/bin/platform https://github.com/platformsh/platformsh-cli/releases/download/v3.40.4/platform.phar
- chmod ug+x /var/www/.platformsh/bin/platform
tooling:
platform:
service: platform
description: Run Platform CLI commands
cmd: /var/www/.platformsh/bin/platform
# should these be able to run on either service once we've got the website in here too?
yarn:
service: cli
node:
service: cli
vuepress:
service: cli