forked from ryanwi/rails7-on-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
render.yaml
42 lines (40 loc) · 1 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
databases:
- name: mysite
databaseName: mysite
user: mysite
plan: free
services:
- type: web
name: mysite
env: docker
dockerfilePath: ./production.Dockerfile
repo: https://github.com/ryanwi/rails7-on-docker
region: oregon
branch: main
plan: free
dockerCommand: "bundle exec puma -C config/puma.rb"
numInstances: 1
healthCheckPath: /
envVars:
- 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