-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrender.yaml
More file actions
46 lines (44 loc) · 1.02 KB
/
Copy pathrender.yaml
File metadata and controls
46 lines (44 loc) · 1.02 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
services:
# PostgreSQL Database
- type: pserv
name: oilseed-db
databaseName: hedge_db
user: alok
plan: free
# Backend API Service
- type: web
name: oilseed-backend
runtime: docker
dockerfilePath: ./backend/Dockerfile
dockerContext: ./backend
plan: free
healthCheckPath: /health
envVars:
- key: DATABASE_URL
fromDatabase:
name: oilseed-db
property: connectionString
- key: SECRET_KEY
generateValue: true
- key: ALGORITHM
value: HS256
- key: ACCESS_TOKEN_EXPIRE_MINUTES
value: 30
- key: PYTHONPATH
value: /app
# Frontend Application
- type: web
name: oilseed-frontend
runtime: docker
dockerfilePath: ./frontend/Dockerfile
dockerContext: ./frontend
plan: free
healthCheckPath: /
envVars:
- key: NEXT_PUBLIC_API_URL
fromService:
type: web
name: oilseed-backend
property: host
- key: NODE_ENV
value: production