-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
48 lines (44 loc) · 1.45 KB
/
Copy pathrender.yaml
File metadata and controls
48 lines (44 loc) · 1.45 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
# LinkForge Backend — Render Blueprint (IaC)
services:
- type: web
name: linkforge-backend
runtime: docker
repo: https://github.com/tlavu2004/linkforge-backend
region: singapore
plan: free
branch: main
dockerfilePath: ./Dockerfile
envVars:
# Spring Profile
- key: SPRING_PROFILES_ACTIVE
value: prod
# Connect to the Environment Group you created
- fromGroup: linkforge-secrets
# Default values (can be overridden by Env Group if needed)
- key: REDIS_PORT
value: "6379"
- key: REDIS_SSL_ENABLED
value: "true"
- key: PORT
value: "10000"
- key: FRONTEND_URL
value: "https://tlavu-linkforge.vercel.app"
- key: BACKEND_URL
value: "https://linkforge-backend-r0tk.onrender.com"
- key: VNPAY_URL
value: "https://sandbox.vnpayment.vn/paymentv2/vpcpay.html"
- key: VNPAY_RETURN_URL
value: "https://linkforge-backend-r0tk.onrender.com/api/v1/payments/vnpay-return"
- key: VNPAY_API_URL
value: "https://sandbox.vnpayment.vn/merchant_webapi/api/transaction"
- key: MAIL_HOST
value: "smtp-relay.brevo.com"
- key: MAIL_PORT
value: "2525"
# JWT (Render can auto-generate this if not in Env Group)
- key: JWT_EXPIRATION
value: "900000"
- key: JWT_REFRESH_TOKEN_EXPIRATION
value: "604800000"
- key: JWT_SECRET_KEY
generateValue: true