-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
37 lines (35 loc) · 1.04 KB
/
Copy pathrender.yaml
File metadata and controls
37 lines (35 loc) · 1.04 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
# Render Blueprint — one-click deploy of the API plus a free Postgres and a
# free Redis (Key Value). Import this repo at https://render.com → "New +" →
# "Blueprint". Everything here stays on Render's free tier.
services:
- type: web
name: grubpool-backend
runtime: docker
dockerfilePath: ./Dockerfile
plan: free
healthCheckPath: /health
envVars:
- key: NODE_ENV
value: production
# Auto-create the schema from entities on boot (fine for a free demo;
# switch to migrations for a long-lived production database).
- key: DB_SYNCHRONIZE
value: 'true'
- key: DB_SSL
value: 'true'
- key: DATABASE_URL
fromDatabase:
name: grubpool-db
property: connectionString
- key: REDIS_URL
fromService:
type: redis
name: grubpool-redis
property: connectionString
- type: redis
name: grubpool-redis
plan: free
ipAllowList: [] # internal connections only
databases:
- name: grubpool-db
plan: free