Skip to content

Commit 8c928fa

Browse files
authored
Refresh Heroku related thingy for heroku-24 stack (mastodon#31135)
1 parent 8adf67f commit 8c928fa

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

.profile

-1
This file was deleted.

Aptfile

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
ffmpeg
2-
libopenblas0-pthread
3-
libpq-dev
4-
libxdamage1
5-
libxfixes3
1+
libidn12
2+
# for idn-ruby on heroku-24 stack
3+
4+
# use https://github.com/heroku/heroku-buildpack-activestorage-preview
5+
# in place for ffmpeg and its dependent packages to reduce slag size

Procfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ worker: bundle exec sidekiq
1111
#
1212
# and let the main app use the separate app:
1313
#
14-
# heroku config:set STREAMING_API_BASE_URL=wss://<streaming-app>.herokuapp.com -a <main-app>
14+
# heroku config:set STREAMING_API_BASE_URL=wss://<streaming-app-random>.herokuapp.com -a <main-app>

app.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,22 @@
9090
}
9191
},
9292
"buildpacks": [
93+
{
94+
"url": "https://github.com/heroku/heroku-buildpack-activestorage-preview"
95+
},
9396
{
9497
"url": "https://github.com/heroku/heroku-buildpack-apt"
9598
},
99+
{
100+
"url": "heroku/nodejs"
101+
},
96102
{
97103
"url": "heroku/ruby"
98104
}
99105
],
100106
"scripts": {
101107
"postdeploy": "bundle exec rails db:migrate && bundle exec rails db:seed"
102108
},
103-
"addons": ["heroku-postgresql", "heroku-redis"]
109+
"addons": ["heroku-postgresql", "heroku-redis"],
110+
"stack": "heroku-24"
104111
}

0 commit comments

Comments
 (0)