-
Notifications
You must be signed in to change notification settings - Fork 0
/
render.yaml
43 lines (42 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
40
41
42
43
databases:
- name: mysite
databaseName: mysite
user: mysite
plan: free
services:
- type: web
name: mysite
runtime: docker
dockerfilePath: ./Dockerfile
repo: https://github.com/ryanwi/rails7-on-docker
region: oregon
branch: main
plan: free
numInstances: 1
healthCheckPath: /up
preDeployCommand: bin/rails db:migrate
envVars:
- key: PORT
value: 3000
- key: DATABASE_URL
fromDatabase:
name: mysite
property: connectionString
- key: SECRET_KEY_BASE
sync: false # placeholder for a value to be added in the dashboard
- key: REDIS_HOST
fromService:
type: redis
name: lightning
property: host # available properties are listed below
- key: REDIS_PORT
fromService:
type: redis
name: lightning
property: port
- type: redis
name: lightning
ipAllowList: # required
- source: 0.0.0.0/0
description: everywhere
plan: free