Deploying on Heroku
Heroku has discontinued free dynos, postgres and redis. https://blog.heroku.com/new-low-cost-plans
Chatwoot will switch to using basic/mini plans for all new heroku deployments going forward. :::
Deploy chatwoot on Heroku through the following steps
- Click on the one click deploy button and deploy your app.
- Go to the Resources tab in the Heroku app dashboard and ensure the worker dynos is turned on.
- Head over to settings tabs in Heroku app dashboard and click reveal config vars.
- Configure the environment variables for mailer and storage as per the documentation.
- Head over to
yourapp.herokuapp.comand enjoy using Chatwoot.
Updating the deployment on Heroku
Whenever a new version is out for chatwoot, you update your Heroku deployment through following steps.
- In the deploy tab, choose
Githubas the deployment option.
- Connect chatwoot repo to the app.
- Head over to the manual deploy option, choose
masterbranch and hit deploy.
If you are on a free tier and you don’t access the application for a while Heroku will put your dynos to sleep. You can fix this by upgrading the dynos to paid tier.
Heroku has an "ephemeral" hard disk. The files uploaded to Chatwoot would not persist after the application is restarted. By default, Chatwoot uses local disk as the upload destination. To overcome this problem, you will have to configure a cloud storage.