-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathrender.yaml
More file actions
58 lines (56 loc) · 1.61 KB
/
render.yaml
File metadata and controls
58 lines (56 loc) · 1.61 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
# Render Blueprint - Infrastructure as Code
# https://render.com/docs/blueprint-spec
services:
- type: web
name: libredb-studio
runtime: docker
# Use Dockerfile for building
dockerfilePath: ./Dockerfile
# Health check endpoint
healthCheckPath: /api/db/health
# Auto-deploy on push to main
autoDeploy: true
# Environment variables (set in Render Dashboard for secrets)
envVars:
- key: NODE_ENV
value: production
- key: PORT
value: 3000
# Authentication - Set these in Render Dashboard
- key: ADMIN_EMAIL
sync: false
- key: ADMIN_PASSWORD
sync: false # Must be set manually in dashboard
- key: USER_EMAIL
sync: false
- key: USER_PASSWORD
sync: false
- key: JWT_SECRET
sync: false # Must be at least 32 characters
# OIDC / SSO Configuration - Set in Dashboard
- key: NEXT_PUBLIC_AUTH_PROVIDER
value: oidc # or "local" for password-based auth
- key: OIDC_ISSUER
sync: false
- key: OIDC_CLIENT_ID
sync: false
- key: OIDC_CLIENT_SECRET
sync: false
- key: OIDC_SCOPE
value: openid profile email
- key: OIDC_ROLE_CLAIM
sync: false
- key: OIDC_ADMIN_ROLES
value: admin
# AI Configuration (Optional) - Set in Dashboard
- key: LLM_PROVIDER
value: gemini
- key: LLM_API_KEY
sync: false
- key: LLM_MODEL
value: gemini-2.5-flash
# Disk for persistent storage (optional)
# disk:
# name: libredb-data
# mountPath: /app/data
# sizeGB: 1