-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
98 lines (95 loc) · 2.77 KB
/
render.yaml
File metadata and controls
98 lines (95 loc) · 2.77 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
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
envVarGroups:
- name: fastapi-env
envVars:
- key: ENVIRONMENT
value: production
- key: PROJECT_NAME
value: "Full Stack FastAPI"
- key: STACK_NAME
value: fastapi-project
- key: SMTP_TLS
value: "true"
- key: SMTP_SSL
value: "false"
- key: SMTP_PORT
value: "587"
- key: SECRET_KEY
generateValue: true
- key: FIRST_SUPERUSER
sync: false
- key: FIRST_SUPERUSER_PASSWORD
sync: false
- key: DOMAIN
sync: false
- key: FRONTEND_HOST
sync: false
- key: BACKEND_CORS_ORIGINS
sync: false
- key: SMTP_HOST
sync: false
- key: SMTP_USER
sync: false
- key: SMTP_PASSWORD
sync: false
- key: EMAILS_FROM_EMAIL
sync: false
- key: SENTRY_DSN
sync: false
- key: VITE_API_URL
sync: false
projects:
- name: full-stack-fastapi-template
environments:
- name: production
services:
- type: web
name: fastapi-backend
runtime: docker
plan: free
repo: https://github.com/render-examples/full-stack-fastapi-template
branch: main
autoDeploy: true
dockerfilePath: ./backend/Dockerfile
dockerContext: .
dockerCommand: bash scripts/start.sh
healthCheckPath: /api/v1/utils/health-check/
envVars:
- fromGroup: fastapi-env
- key: POSTGRES_SERVER
fromDatabase:
name: fastapi-db
property: host
- key: POSTGRES_PORT
fromDatabase:
name: fastapi-db
property: port
- key: POSTGRES_USER
fromDatabase:
name: fastapi-db
property: user
- key: POSTGRES_PASSWORD
fromDatabase:
name: fastapi-db
property: password
- key: POSTGRES_DB
fromDatabase:
name: fastapi-db
property: database
- type: web
name: fastapi-frontend
runtime: static
repo: https://github.com/render-examples/full-stack-fastapi-template
branch: main
autoDeploy: true
buildCommand: bun install --frozen-lockfile && bun run --filter frontend build
staticPublishPath: frontend/dist
routes:
- type: rewrite
source: /*
destination: /index.html
envVars:
- fromGroup: fastapi-env
databases:
- name: fastapi-db
databaseName: app
plan: free