-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathrender.yaml
34 lines (34 loc) · 925 Bytes
/
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
databases:
- name: fishing-cat-server-db
databaseName: fishing_cat_server_db
user: fishing_cat_server_db_user
plan: free
services:
- name: fishing-cat-server-app
type: web
plan: free
runtime: ruby
buildCommand: ./bin/render-build.bash
startCommand: "bin/rails server -p ${PORT:-3000} -e production"
autoDeploy: false
envVars:
- key: DATABASE_URL
fromDatabase:
name: fishing-cat-server-db
property: connectionString
- key: SECRET_KEY_BASE
generateValue: true
- key: LANG
value: en_US.UTF-8
- key: RAILS_LOG_TO_STDOUT
value: enabled
- key: RAILS_ENV
value: production
- key: RACK_ENV
value: production
- key: FISHING_CAT_ADMIN_REALM
sync: false
- key: FISHING_CAT_ADMIN_USERNAME
sync: false
- key: FISHING_CAT_ADMIN_PASSWORD
sync: false