#community-help

Deploying Typesense on Heroku Troubleshooting

TLDR VIVEK encountered an error while deploying Typesense on Heroku. Jason advised that Typesense might not be suitable for Heroku, and suggested increasing node capacity to solve the specific error.

Powered by Struct AI

1

Jul 20, 2022 (17 months ago)
VIVEK
Photo of md5-fb34c5ddbaad9ef6a783798cb0e2859a
VIVEK
03:23 PM
is it possible to deploy typesense on heroku?
03:24
VIVEK
03:24 PM
I followed these steps:deploy on heroku - container registry to deploy the docker image. But, getting this err https://pastebin.com/a0d6jZKP
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
04:19 PM
TIL you can run custom images on Heroku!

Although, does Heroku give you access to persistent disk and also do they let containers run without interruption? If no, then Typesense will not be suitable, because it needs both of these given that it’s an in-memory datastore, with a backup on disk.
04:20
Jason
04:20 PM
In any case, that particular error happens when there aren’t enough file handles and/or memory in the runtime. Could you try may be increasing the node capacity?
VIVEK
Photo of md5-fb34c5ddbaad9ef6a783798cb0e2859a
VIVEK
04:32 PM
heroku provides an ephemeral disk 😔😔
04:32
VIVEK
04:32 PM
Anyway, thanks for the solution!!

1