Skip to content

Commit

Permalink
Update app.json for review apps (#4010)
Browse files Browse the repository at this point in the history
  • Loading branch information
veganstraightedge authored Nov 4, 2024
1 parent 77112b6 commit d0ef5d5
Showing 1 changed file with 27 additions and 18 deletions.
45 changes: 27 additions & 18 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,47 +1,56 @@
{
"name": "Website, by CrimethInc.",
"description": "Rails app that powers crimethinc.com",
"keywords": [
"indieweb",
"publishing",
"rubyonrails",
"rails"
],

"keywords": ["indieweb", "publishing", "rubyonrails", "rails"],
"website": "https://crimethinc.com",
"repository": "https://github.com/crimethinc/website",
"logo": "https://avatars0.githubusercontent.com/u/21285375",

"success_url": "/",

"scripts": {
"postdeploy": "bundle exec rake db:migrate && bundle exec rake db:seed"
},

"env": {
"SECRET_KEY_BASE": {
"RAILS_MASTER_KEY": {
"description": "This gets generated",
"generator": "secret"
"generator": "secret"
},

"MIN_THREADS": "1",
"MAX_THREADS": "1"
"RAILS_MIN_THREADS": "1",
"RAILS_MAX_THREADS": "5",
"WEB_CONCURRENCY": {
"description": "The number of processes to run.",
"value": "3"
}
},

"formation": {
"web": {
"quantity": 1,
"size": "basic"
}
},

"addons": [
"heroku-postgresql:hobby-dev"
{
"plan": "heroku-postgresql:essential-0",
"options": {
"version": "15"
}
}
],

"environments": {
"test": {
"review": {
"buildpacks": [
{ "url": "heroku://github.com/gaffneyc/heroku-buildpack-jemalloc" },
{ "url": "heroku/ruby" },
{ "url": "https://github.com/gaffneyc/heroku-buildpack-jemalloc" },
{ "url": "https://github.com/heroku/heroku-buildpack-activestorage-preview" },
{ "url": "https://github.com/heroku/heroku-buildpack-apt" },
{ "url": "https://github.com/heroku/heroku-buildpack-activestorage-preview" }
{ "url": "heroku/ruby" }
]
}
},

"stack": "heroku-22"
"stack": "heroku-24"
}

0 comments on commit d0ef5d5

Please sign in to comment.