-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
56 lines (50 loc) · 1.86 KB
/
Copy pathrender.yaml
File metadata and controls
56 lines (50 loc) · 1.86 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
# Render deployment configuration for Tinfer app
# This file defines both backend and frontend services
services:
# Backend Spring Boot API
- type: web
name: tinfer-backend
runtime: docker
dockerfilePath: ./backend/Dockerfile
dockerContext: ./backend
region: frankfurt # Choose closest region: oregon, frankfurt, singapore
plan: free # Change to 'starter' for production with more resources
branch: main
# healthCheckPath: /actuator/health
envVars:
# Database configuration - Using Supabase PostgreSQL
# Get these from: Supabase Dashboard → Project Settings → Database
- key: DATABASE_URL
sync: false # jdbc:postgresql://db.YOUR_PROJECT.supabase.co:5432/postgres
- key: DATABASE_USERNAME
sync: false # postgres
- key: DATABASE_PASSWORD
sync: false # Your Supabase database password
# Supabase configuration
- key: SUPABASE_URL
sync: false # https://YOUR_PROJECT.supabase.co
- key: SUPABASE_JWT_SECRET
sync: false # From Supabase Settings → API → JWT Secret
- key: SUPABASE_ANON_KEY
sync: false # From Supabase Settings → API → anon public key
# Email configuration (Gmail SMTP)
- key: SMTP_MAIL
sync: false # your-email@gmail.com
- key: SMTP_PASSWORD
sync: false # Gmail App Password (16 characters)
# Spring Boot profile
- key: SPRING_PROFILES_ACTIVE
value: production
# JVM options
- key: JAVA_OPTS
value: "-Xmx512m -Xms256m"
# Frontend Angular App
- type: web
name: tinfer-frontend
runtime: docker
dockerfilePath: ./frontend/Dockerfile
dockerContext: ./frontend
region: frankfurt # Should match backend region
plan: free # Change to 'starter' for production
branch: main
# healthCheckPath: /health