-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
43 lines (42 loc) · 1.18 KB
/
render.yaml
File metadata and controls
43 lines (42 loc) · 1.18 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
services:
- type: web
name: kch-backend
env: java
plan: starter
buildCommand: cd kch-backend && ./mvnw clean package -DskipTests
startCommand: cd kch-backend && java -jar target/*.jar
envVars:
- key: SPRING_PROFILES_ACTIVE
value: supabase
- key: DATABASE_URL
fromDatabase:
name: kch-database
property: connectionString
- key: DATABASE_USERNAME
fromDatabase:
name: kch-database
property: user
- key: DATABASE_PASSWORD
fromDatabase:
name: kch-database
property: password
- key: JWT_SECRET
generateValue: true
- key: SUPER_ADMIN_SETUP_KEY
generateValue: true
- key: APP_CORS_ALLOWED_ORIGINS
value: https://keycode.help,https://www.keycode.help,https://keycode-help-dev1.vercel.app
- key: FRONTEND_URL
value: https://www.keycode.help
- key: BREVO_USERNAME
sync: false
- key: BREVO_API_KEY
sync: false
- key: MAIL_HOST
value: smtp-relay.brevo.com
- key: MAIL_PORT
value: 587
databases:
- name: kch-database
plan: starter
databaseName: kch_production