-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
37 lines (36 loc) · 994 Bytes
/
render.yaml
File metadata and controls
37 lines (36 loc) · 994 Bytes
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
services:
- type: web
name: weatherforge
runtime: ruby
region: oregon
plan: free
branch: main
buildCommand: >
SKIP_REDIS=true bundle install &&
SKIP_REDIS=true bundle exec rake assets:precompile &&
SKIP_REDIS=true bundle exec rake db:migrate
startCommand: bash -c 'bin/jobs & bundle exec puma -C config/puma.rb'
envVars:
- key: RAILS_ENV
value: production
- key: RACK_ENV
value: production
- key: DATABASE_URL
fromDatabase:
name: common-projects-postgres
property: connectionString
- key: RAILS_MASTER_KEY
sync: false
- key: RAILS_LOG_TO_STDOUT
value: "true"
- key: RAILS_SERVE_STATIC_FILES
value: "true"
healthCheckPath: /up
autoDeploy: true
databases:
- name: common-projects-postgres
region: oregon
plan: free
databaseName: common_projects_postgres_production
user: renderuser
postgresMajorVersion: "17"