-
Notifications
You must be signed in to change notification settings - Fork 111
/
render.yaml
205 lines (192 loc) · 5.33 KB
/
render.yaml
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
previewsEnabled: false
# cost control for preview deployments.
# if no activity for 3 days, the preview deployment will be deleted.
previewsExpireAfterDays: 3
services:
- name: inlang-website
type: web
runtime: node
region: frankfurt
plan: standard
buildCommand: pnpm install && pnpm run build --projects=@inlang/website
startCommand: NX_REJECT_UNKNOWN_LOCAL_CACHE=0 pnpm production # configured in root package.json
autoDeploy: true
envVars:
- key: PORT
value: 3000 # @inlang/server
- fromGroup: production
buildFilter:
paths:
- inlang/source-code/website/**
- inlang/source-code/markdown/**
- inlang/source-code/marketplace-registry/**
- '**/*.md'
ignoredPaths:
- '**/CHANGELOG.md'
domains:
- inlang.com
- name: lix-website
type: web
runtime: node
region: frankfurt
plan: starter
branch: main
pullRequestPreviewsEnabled: false
buildCommand: pnpm --filter lix-website i && pnpm --filter lix-website build
startCommand: NX_REJECT_UNKNOWN_LOCAL_CACHE=0 pnpm --filter lix-website start
autoDeploy: true
envVars:
- fromGroup: production
- key: PORT
value: 3002
buildFilter:
paths:
- lix/website/**
domains:
- lix.opral.com
- name: fink2
type: web
runtime: static
autoDeploy: true
branch: lix-integration
staticPublishPath: ./inlang/source-code/fink2/dist
routes:
- type: rewrite
source: /*
destination: /index.html
buildCommand: pnpm install && pnpm run --filter @inlang/fink2... build
buildFilter:
paths:
- inlang/source-code/fink2/**
envVars:
- fromGroup: production
- name: csv
type: web
runtime: static
autoDeploy: true
branch: lix-integration
staticPublishPath: ./lix/packages/csv-app2/dist
buildCommand: pnpm install && pnpm run --filter @lix-js/csv-app2... build
buildFilter:
paths:
- lix/packages/csv-app2/**
envVars:
- fromGroup: production
- name: git-proxy
type: web
runtime: node
region: frankfurt
plan: starter
# PR preview deployments use the shared production git-proxy
# This disables branch previews for the git-proxy
branch: main
buildCommand: pnpm install && pnpm run build
startCommand: NX_REJECT_UNKNOWN_LOCAL_CACHE=0 pnpm --filter @lix-js/server production
autoDeploy: true
envVars:
- key: PORT
value: 3001
- fromGroup: production
buildFilter:
paths:
- lix/packages/server/**
domains:
- git.inlang.com
- name: badge-service
type: web
runtime: node
region: frankfurt
plan: standard
branch: main
buildCommand: pnpm install && pnpm run build --projects=@inlang/badge
startCommand: NX_REJECT_UNKNOWN_LOCAL_CACHE=0 pnpm --filter @inlang/badge run production
autoDeploy: true
envVars:
- fromGroup: production
buildFilter:
paths:
- inlang/source-code/badge/CHANGELOG.md
domains:
- badge.inlang.com
- name: fink-editor
type: web
runtime: node
region: frankfurt
plan: standard
pullRequestPreviewsEnabled: false
buildCommand: pnpm install && pnpm run --filter @inlang/editor... build
startCommand: NX_REJECT_UNKNOWN_LOCAL_CACHE=0 pnpm --filter @inlang/editor production
autoDeploy: true
envVars:
- fromGroup: production
- key: PORT
value: 4003
buildFilter:
paths:
- inlang/source-code/editor/CHANGELOG.md
domains:
- fink.inlang.com
- name: inlang-manage
type: web
runtime: node
region: frankfurt
plan: standard
pullRequestPreviewsEnabled: false
buildCommand: pnpm install && pnpm run build
startCommand: NX_REJECT_UNKNOWN_LOCAL_CACHE=0 pnpm --filter @inlang/manage production
autoDeploy: true
envVars:
- fromGroup: production
- key: PORT
value: 4004
buildFilter:
paths:
- inlang/source-code/manage/CHANGELOG.md
domains:
- manage.inlang.com
- name: opral-website
type: web
runtime: static
autoDeploy: true
staticPublishPath: ./opral/source-code/website
buildFilter:
paths:
- opral/source-code/website/**
domains:
- opral.com
- name: telemetry-proxy
type: web
runtime: node
region: frankfurt
plan: starter
branch: main
pullRequestPreviewsEnabled: false
buildCommand: pnpm install && pnpm run --filter @inlang/telemetry-proxy build
startCommand: NX_REJECT_UNKNOWN_LOCAL_CACHE=0 pnpm run --filter @inlang/telemetry-proxy production
autoDeploy: true
envVars:
- key: PORT
value: 4005
buildFilter:
paths:
- inlang/source-code/telemetry-proxy/**
domains:
- tm.inlang.com
- name: telemetry-proxy-parrot
type: web
runtime: node
region: frankfurt
plan: starter
branch: main
pullRequestPreviewsEnabled: false
buildCommand: pnpm install && pnpm run --filter @inlang/telemetry-proxy-parrot build
startCommand: NX_REJECT_UNKNOWN_LOCAL_CACHE=0 pnpm run --filter @inlang/telemetry-proxy-parrot production
autoDeploy: true
envVars:
- key: PORT
value: 4006
buildFilter:
paths:
- inlang/source-code/telemetry-proxy-parrot/**
domains:
- telemetry.inlang.com