-
-
Notifications
You must be signed in to change notification settings - Fork 67
/
render.yaml
42 lines (41 loc) · 979 Bytes
/
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
40
41
42
services:
- type: web
name: backend
env: go
repo: https://github.com/staticbackendhq/core.git
buildCommand: "cd cmd && go build -o backend"
startCommand: "./cmd/backend"
healthCheckPath: /
envVars:
- key: REDIS_HOST
fromService:
name: redis
type: pserv
property: hostport
- key: DATA_STORE
value: pg
- key: JWT_SECRET
generateValue: true
- key: MAIL_PROVIDER
value: dev
- key: STORAGE_PROVIDER
value: s3
- key: DATABASE_URL
fromDatabase:
name: postgres
property: connectionString
- type: pserv
name: redis
env: docker
repo: https://github.com/render-examples/redis.git
envVars:
- key: GENERATED_SECRET
generateValue: true
- key: DASHBOARD_SECRET
sync: false
disk:
name: redis-data
mountPath: /var/lib/redis
sizeGB: 2
databases:
- name: postgres