Refresh Heroku related thingy for heroku-24 stack (#31135)
This commit is contained in:
parent
8adf67f2db
commit
8c928faff3
4 changed files with 14 additions and 8 deletions
1
.profile
1
.profile
|
@ -1 +0,0 @@
|
||||||
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/app/.apt/lib/x86_64-linux-gnu:/app/.apt/usr/lib/x86_64-linux-gnu/mesa:/app/.apt/usr/lib/x86_64-linux-gnu/pulseaudio:/app/.apt/usr/lib/x86_64-linux-gnu/openblas-pthread
|
|
10
Aptfile
10
Aptfile
|
@ -1,5 +1,5 @@
|
||||||
ffmpeg
|
libidn12
|
||||||
libopenblas0-pthread
|
# for idn-ruby on heroku-24 stack
|
||||||
libpq-dev
|
|
||||||
libxdamage1
|
# use https://github.com/heroku/heroku-buildpack-activestorage-preview
|
||||||
libxfixes3
|
# in place for ffmpeg and its dependent packages to reduce slag size
|
||||||
|
|
2
Procfile
2
Procfile
|
@ -11,4 +11,4 @@ worker: bundle exec sidekiq
|
||||||
#
|
#
|
||||||
# and let the main app use the separate app:
|
# and let the main app use the separate app:
|
||||||
#
|
#
|
||||||
# heroku config:set STREAMING_API_BASE_URL=wss://<streaming-app>.herokuapp.com -a <main-app>
|
# heroku config:set STREAMING_API_BASE_URL=wss://<streaming-app-random>.herokuapp.com -a <main-app>
|
||||||
|
|
9
app.json
9
app.json
|
@ -90,9 +90,15 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"buildpacks": [
|
"buildpacks": [
|
||||||
|
{
|
||||||
|
"url": "https://github.com/heroku/heroku-buildpack-activestorage-preview"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"url": "https://github.com/heroku/heroku-buildpack-apt"
|
"url": "https://github.com/heroku/heroku-buildpack-apt"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"url": "heroku/nodejs"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"url": "heroku/ruby"
|
"url": "heroku/ruby"
|
||||||
}
|
}
|
||||||
|
@ -100,5 +106,6 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postdeploy": "bundle exec rails db:migrate && bundle exec rails db:seed"
|
"postdeploy": "bundle exec rails db:migrate && bundle exec rails db:seed"
|
||||||
},
|
},
|
||||||
"addons": ["heroku-postgresql", "heroku-redis"]
|
"addons": ["heroku-postgresql", "heroku-redis"],
|
||||||
|
"stack": "heroku-24"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue