-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathrender.yaml
More file actions
66 lines (63 loc) · 1.9 KB
/
render.yaml
File metadata and controls
66 lines (63 loc) · 1.9 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
services:
- type: web
name: lighthouse
runtime: image
image:
url: ghcr.io/letpeoplework/lighthouse:dev-latest
plan: free
envVars:
- key: ASPNETCORE_URLS
value: http://+:10000
# Database
- key: Database__Provider
value: postgres
- key: Database__ConnectionString
sync: false # set manually in dashboard once DB connection info is known
- key: DB_HOST
fromDatabase:
name: lighthouse-db
property: host
- key: DB_PORT
fromDatabase:
name: lighthouse-db
property: port
- key: DB_NAME
fromDatabase:
name: lighthouse-db
property: database
- key: DB_USER
fromDatabase:
name: lighthouse-db
property: user
- key: DB_PASSWORD
fromDatabase:
name: lighthouse-db
property: password
# Auth — fill these in manually in Render dashboard, never commit secrets
- key: Authentication__Enabled
value: "true"
- key: Authentication__Authority
sync: false # set manually in dashboard
- key: Authentication__ClientId
sync: false
- key: Authentication__ClientSecret
sync: false
- key: Authentication__CallbackPath
value: "/api/auth/callback"
- key: Authentication__SignedOutCallbackPath
value: "/api/auth/signout-callback"
- key: Authentication__Scopes__0
value: "openid"
- key: Authentication__Scopes__1
value: "profile"
- key: Authentication__Scopes__2
value: "email"
- key: Authentication__AllowedOrigins
sync: false # set to your Render app URL once known, e.g. https://lighthouse.onrender.com
- key: Authentication__SessionLifetimeMinutes
value: "480"
databases:
- name: lighthouse-db
plan: free
databaseName: lighthouse
user: lighthouseuser