forked from ruby-no-kai/sponsor-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.json
48 lines (48 loc) · 1.74 KB
/
app.json
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
44
45
46
47
48
{
"name": "sponsor-app",
"buildpacks": [
{"url": "heroku/nodejs"},
{"url": "heroku/ruby"}
],
"stack": "heroku-18",
"scripts": {
"postdeploy": "bundle exec rake db:migrate"
},
"addons": [
{
"plan": "heroku-postgresql"
},
{
"plan": "heroku-redis"
},
{
"plan": "sendgrid"
}
],
"env": {
"SECRET_KEY_BASE": {
"description": "for session",
"generator": "secret"
},
"AWS_DEFAULT_REGION": {"description": "for files", "value": "ap-northeast-1"},
"AWS_REGION": {"description": "for files", "value": "ap-northeast-1"},
"AWS_ACCESS_KEY_ID": {"description": "for files"},
"AWS_SECRET_ACCESS_KEY": {"description": "for files"},
"DEFAULT_EMAIL_ADDRESS": {"description": "for outgoing email"},
"DEFAULT_EMAIL_HOST": {"description": "for message-id of outgoing email"},
"DEFAULT_URL_HOST": {"description": "for outgoing email"},
"GITHUB_CLIENT_ID": {"description": "for admin authn/z"},
"GITHUB_CLIENT_SECRET": {"description": "for admin authn/z"},
"GITHUB_REPO": {"description": "for admin authz"},
"IS_HEROKU": {"description": "to determine environment", "value": "1"},
"LANG": {"description": "to determine environment", "value": "en_US.UTF-8"},
"ORG_NAME": {"description": "mostly for outgoing emails"},
"RACK_ENV": {"description": "rack_env", "value": "production"},
"RAILS_ENV": {"description": "rails_env", "value": "production"},
"RAILS_LOG_TO_STDOUT": {"description": "rails", "value": "enabled"},
"RAILS_SERVE_STATIC_FILE": {"description": "rails", "value": "enabled"},
"S3_FILES_REGION": {"description": "for files"},
"S3_FILES_BUCKET": {"description": "for files"},
"S3_FILES_ROLE": {"description": "for files"}
}
}