-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yml
More file actions
28 lines (27 loc) · 819 Bytes
/
render.yml
File metadata and controls
28 lines (27 loc) · 819 Bytes
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
services:
# This service is your Spring Boot backend
- type: web
name: kept-backend
env: java
plan: free
buildCommand: "./mvnw clean package -DskipTests"
startCommand: "java -jar target/kept-0.0.1-SNAPSHOT.jar"
healthCheckPath: /welcome # Uses your WelcomeController for health checks
envVars:
- key: SPRING_PROFILES_ACTIVE
value: prod
- key: DATABASE_URL
fromDatabase:
name: kept-db
property: connectionString
# These are your secrets. You will set them in the Render Dashboard later.
- key: JWT_SECRET_PROD
sync: false
- key: TOGETHER_API_KEY_PROD
sync: false
- key: CLIENT_URL_PROD
sync: false
databases:
# This tells Render about the database service
- name: kept-db
plan: free