Files
baclight/render.yaml
T
2023-09-30 21:23:39 -07:00

45 lines
1.1 KiB
YAML

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
# buildCommand: "./bin/render-build.sh"
dockerCommand: "bundle exec puma -C config/puma.rb"
numInstances: 1
healthCheckPath: /up
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