-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrender.yaml
More file actions
36 lines (36 loc) · 1.68 KB
/
render.yaml
File metadata and controls
36 lines (36 loc) · 1.68 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
services:
- type: web # Specifies a web service
name: codebeasts # Service name
env: node # Specifies the Node.js environment
plan: free # Or your desired plan (e.g., 'starter')
buildCommand: "npm install --force && npm run build" # Install deps (using --force if needed for peer deps) and build
startCommand: "npm start" # Command to run the production server
envVars:
# General Node/Next.js env vars
- key: NODE_ENV
value: production
# Add ASTRA DB secrets from Render Secret Files or Env Groups
- key: ASTRA_DB_ENDPOINT
fromSecretFile: /etc/secrets/astra-endpoint # Example path if using secrets file
# OR from an Env Group:
# fromGroup: astra-secrets
- key: ASTRA_DB_APPLICATION_TOKEN
fromSecretFile: /etc/secrets/astra-token # Example path if using secrets file
# OR from an Env Group:
# fromGroup: astra-secrets
# Add Langflow secrets/config
- key: LANGFLOW_BASE_URL
value: https://langflow-jfjl.onrender.com # Or from an Env Var/Group
- key: LANGFLOW_FLOW_ID
value: generate_codebeast # Or from an Env Var/Group
# Add EverArt API Key
- key: EVERART_API_KEY
fromSecretFile: /etc/secrets/everart-key # Example path if using secrets file
# OR from an Env Group:
# fromGroup: api-keys
# Add Client-side variables (Must start with NEXT_PUBLIC_)
- key: NEXT_PUBLIC_LANGFLOW_BASE_URL
value: https://langflow-jfjl.onrender.com # Match server-side value
- key: NEXT_PUBLIC_LANGFLOW_FLOW_ID
value: generate_codebeast # Match server-side value
# --- Add any other necessary environment variables below ---