-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrender.yaml
More file actions
39 lines (37 loc) · 1.11 KB
/
Copy pathrender.yaml
File metadata and controls
39 lines (37 loc) · 1.11 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
# Render Blueprint — deploys both backend + frontend from one repo
# https://render.com/docs/blueprint-spec
services:
# ── Spring Boot Backend (Web Service, Docker) ──────────────────
- type: web
name: codebase-explainer-api
runtime: docker
region: oregon
plan: free
rootDir: backend
dockerfilePath: ./Dockerfile
healthCheckPath: /health
envVars:
- key: GROQ_API_KEY
sync: false
- key: GROQ_MODEL
value: llama-3.3-70b-versatile
- key: GITHUB_TOKEN
sync: false
- key: FRONTEND_URL
sync: false
- key: PORT
value: "8000"
# ── Next.js Frontend (Static Site) ─────────────────────────────
- type: web
name: codebase-explainer-ui
runtime: static
rootDir: frontend
buildCommand: npm install && npm run build
staticPublishPath: out
headers:
- path: /*
name: Cache-Control
value: public, max-age=0, must-revalidate
envVars:
- key: NEXT_PUBLIC_API_URL
sync: false