-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
35 lines (34 loc) · 1.46 KB
/
render.yaml
File metadata and controls
35 lines (34 loc) · 1.46 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
services:
- type: web
name: redacted-app
runtime: docker
dockerfilePath: ./Dockerfile
dockerContext: .
plan: starter # Change to 'standard' or 'pro' for production
region: oregon # Change to your preferred region
envVars:
- key: NODE_ENV
value: production
- key: PORT
value: 10000 # Render uses port 10000 by default
# Google Cloud Storage Configuration
- key: GCS_PROJECT_ID
sync: false # Set this in Render dashboard
- key: GCS_BUCKET_NAME
sync: false # Set this in Render dashboard
# Use GCS_CREDENTIALS (recommended) or GCS_KEY_FILE
- key: GCS_CREDENTIALS
sync: false # Set this in Render dashboard as a JSON string
# Optional: CORS origins (comma-separated)
- key: ALLOWED_ORIGINS
sync: false # Set to your Render service URL if needed
# Frontend API URL (set to your Render service URL)
# IMPORTANT: Set this to https://your-service-name.onrender.com/api
# Replace 'your-service-name' with your actual Render service name
- key: VITE_GCS_API_URL
sync: false # Set this in Render dashboard before first deploy
# PostHog analytics (frontend env vars, used by Vite at build time)
- key: VITE_POSTHOG_KEY
sync: false # Set this in Render dashboard to your PostHog project API key
- key: VITE_POSTHOG_HOST
sync: false # Set this in Render dashboard to your PostHog project API key