-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
25 lines (24 loc) · 786 Bytes
/
Copy pathrender.yaml
File metadata and controls
25 lines (24 loc) · 786 Bytes
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
services:
- type: web
name: smartdoc-api
runtime: dotnet
buildCommand: cd SmartDoc.Api && dotnet publish -c Release -o ../publish
startCommand: cd publish && dotnet SmartDoc.Api.dll
envVars:
- key: ASPNETCORE_ENVIRONMENT
value: Production
- key: ConnectionStrings__DefaultConnection
fromDatabase:
name: smartdoc-db
property: connectionString
- key: OpenAI__ApiKey
sync: false # set manually in Render dashboard
- key: Groq__ApiKey
sync: false # set manually in Render dashboard
- key: AllowedOrigins
sync: false # set to your Azure Static Web Apps URL
databases:
- name: smartdoc-db
databaseName: smartdoc
user: smartdoc
plan: free