-
Notifications
You must be signed in to change notification settings - Fork 0
/
render.yaml
39 lines (38 loc) · 1.02 KB
/
render.yaml
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
services:
- type: web
name: server
runtime: docker
region: frankfurt
plan: free
healthCheckPath: /
envVars:
- key: SPRING_DATASOURCE_CONNECTION_STRING
fromDatabase:
name: elephant
property: connectionString
- key: SPRING_DATASOURCE_USERNAME
fromDatabase:
name: elephant
property: user
- key: SPRING_DATASOURCE_PASSWORD
fromDatabase:
name: elephant
property: password
- key: SPRING_DATASOURCE_HOST
fromDatabase:
name: elephant
property: host
- key: SPRING_DATASOURCE_PORT
fromDatabase:
name: elephant
property: port
- key: SPRING_DATASOURCE_SCHEMA
fromDatabase:
name: elephant
property: database
- key: SPRING_DATASOURCE_URL
value: jdbc:postgresql://${SPRING_DATASOURCE_HOST}:${SPRING_DATASOURCE_PORT}/${SPRING_DATASOURCE_SCHEMA}
databases:
- name: elephant
region: frankfurt
plan: free