-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
36 lines (34 loc) · 1.16 KB
/
Copy pathrender.yaml
File metadata and controls
36 lines (34 loc) · 1.16 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
# Render Blueprint - Nexity60 PWA
# This file allows you to deploy BOTH services at once!
#
# DEPLOYMENT OPTIONS:
#
# Option 1: Blueprint Deployment (One-Click) - RECOMMENDED
# 1. Push this file to GitHub
# 2. Go to https://dashboard.render.com
# 3. Click "New" -> "Blueprint"
# 4. Select your repo: VickyKumarOfficial/Nexity60
# 5. Render deploys BOTH services automatically!
#
# Option 2: Manual Deployment (Separate Services)
# Follow the steps in RENDER_DEPLOYMENT_COMPLETE.md
#
# Note: Static sites must be deployed separately through dashboard
# This YAML deploys the backend via Docker
services:
# Backend - Spring Boot API (via Docker)
- type: web
name: nexity60-backend
runtime: docker
plan: free
dockerfilePath: ./pwa-backend/Dockerfile
dockerContext: ./pwa-backend
envVars:
- key: PORT
value: 8080
healthCheckPath: /api/news/trending
# Frontend must be deployed separately as Static Site
# Go to Dashboard -> New -> Static Site with these settings:
# Build Command: cd pwa-frontend && npm install && npm run build
# Publish Directory: pwa-frontend/build
# Environment Variable: REACT_APP_API_URL=<backend-url>/api