Repository navigation
Expand file tree
/
Copy pathrender.yaml
More file actions
55 lines (51 loc) · 1.45 KB
/
Copy pathrender.yaml
File metadata and controls
55 lines (51 loc) · 1.45 KB
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
services:
- type: web
name: papersurveyor-api
runtime: docker
dockerfilePath: ./apps/api/Dockerfile
plan: starter
healthCheckPath: /health
envVars:
- key: PAPERSURVEYOR_DATABASE_URL
fromDatabase:
name: papersurveyor-postgres
property: connectionString
- key: PAPERSURVEYOR_REDIS_URL
fromService:
type: keyvalue
name: papersurveyor-redis
property: connectionString
- key: PAPERSURVEYOR_CORS_ORIGINS
value: https://papersurveyor-web.onrender.com
- type: worker
name: papersurveyor-worker
runtime: docker
dockerfilePath: ./apps/api/Dockerfile
dockerCommand: dramatiq app.worker
plan: starter
envVars:
- key: PAPERSURVEYOR_DATABASE_URL
fromDatabase:
name: papersurveyor-postgres
property: connectionString
- key: PAPERSURVEYOR_REDIS_URL
fromService:
type: keyvalue
name: papersurveyor-redis
property: connectionString
- type: web
name: papersurveyor-web
runtime: docker
dockerfilePath: ./apps/web/Dockerfile
plan: starter
envVars:
- key: NEXT_PUBLIC_API_BASE_URL
value: https://papersurveyor-api.onrender.com
- key: API_INTERNAL_BASE_URL
value: https://papersurveyor-api.onrender.com
- type: keyvalue
name: papersurveyor-redis
plan: starter
databases:
- name: papersurveyor-postgres
plan: basic-256mb