forked from ToolJet/ToolJet
-
Notifications
You must be signed in to change notification settings - Fork 1
/
render.yaml
52 lines (52 loc) · 1.34 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
previewsEnabled: false
previewsExpireAfterDays: 2
services:
- type: web
name: ToolJet
env: docker
repo: https://github.com/ToolJet/ToolJet.git
dockerfilePath: ./docker/preview.Dockerfile
dockerContext: ./
healthCheckPath: /api/health
envVars:
- key: DATABASE_URL
fromDatabase:
name: postgres-preview
property: connectionString
- key: TOOLJET_DB
value: 'tooljet_db'
- key: ENABLE_TOOLJET_DB
value: 'true'
- key: TOOLJET_HOST
fromService:
type: web
name: ToolJet
envVarKey: RENDER_EXTERNAL_URL
- key: PGRST_HOST
fromService:
type: web
name: PostgREST
envVarKey: RENDER_EXTERNAL_URL
- key: PORT
value: 80
- fromGroup: tooljet-preview-env
- type: web
name: PostgREST
env: docker
repo: https://github.com/ToolJet/ToolJet.git
dockerfilePath: ./docker/postgrest.render.Dockerfile
dockerContext: ./
envVars:
- key: PGRST_ADMIN_SERVER_PORT
value: 3001
- key: PGRST_DB_URI
fromDatabase:
name: postgres-preview
property: connectionString
- key: PGRST_LOG_LEVEL
value: 'info'
databases:
- name: postgres-preview
plan: starter
databaseName: tooljet_preview
postgresMajorVersion: 13