forked from zendesk/samson
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.json
78 lines (78 loc) · 2.46 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "Samson",
"repository": "https://github.com/zendesk/samson",
"logo": "https://raw.githubusercontent.com/zendesk/samson/master/app/assets/images/logo_light.png",
"addons": [
"heroku-postgresql:hobby-dev",
"memcachier:dev"
],
"env": {
"PLUGINS": {
"description": "What plugins to use",
"value": "all",
"required": true
},
"SECRET_TOKEN": {
"description": "Token used to generate session secret",
"generator": "secret",
"required": true
},
"GITHUB_TOKEN": {
"description": "Token to fetch commit diff / PR status / create tags (Settings > Developer Settings > Personal Access Token), does not need any permissions",
"required": true
},
"AUTH_GITHUB": {
"description": "Set to 1 to use github auth",
"required": false
},
"GITHUB_CLIENT_ID": {
"description": "Fill in to use github auth",
"required": false
},
"GITHUB_SECRET": {
"description": "Fill in to use github auth",
"required": false
},
"AUTH_GOOGLE": {
"description": "Set to 1 to use google auth",
"required": false
},
"GOOGLE_CLIENT_ID": {
"description": "Fill in to use google auth",
"required": false
},
"GOOGLE_CLIENT_SECRET": {
"description": "Fill in to use google auth",
"required": false
},
"BUNDLE_WITHOUT": {
"description": "Groups to ignore when bundling",
"value": "mysql2:sqlite"
},
"DEPLOY_TASKS": {
"description": "Rake tasks to run after deploying",
"value": "db:migrate"
},
"RAILS_LOG_TO_STDOUT": {
"description": "Log to stdout so heroku can display logs",
"value": "true"
},
"CACHE_STORE": {
"description": "Caching backend",
"value": "memcached",
"required": true
},
"PERIODICAL": {
"description": "Tasks to run periodically inside the server process",
"value": "stop_expired_deploys:60,remove_expired_locks:60,report_system_stats:60,report_process_stats:60,periodical_deploy:86400,cancel_stalled_builds:3600,repo_provider_status:60,global_command_cleanup:86400"
}
},
"scripts": {
"postdeploy": "DISABLE_DATABASE_ENVIRONMENT_CHECK=1 bundle exec rake db:schema:load"
},
"keywords": ["samson", "deploy", "github", "rails"],
"buildpacks": [
{"url": "https://github.com/heroku/heroku-buildpack-ruby.git"},
{"url": "https://github.com/gunpowderlabs/buildpack-ruby-rake-deploy-tasks.git"}
]
}