Version : ' 2' services : app : image : gotify/server environment : - GOTIFY_SERVER_PORT=30100 restart : ' on-failure:10' volumes : - '. Login to Heroku and create a new Heroku app. We'll use Dockhero to work around this problem.ĭockhero is an add-on which turns any Docker image into a microservice attached to your Heroku app. It would be easy if we could configure the Gotify binary with command line flags, but we can't. There is no way to set that port as an environment variable to the Gotify runtime. Unfortunately, you cannot use the usual steps of deploying Docker to Heroku. Gotify offers a Docker image that we can use. Here is the architectural overview for Gotify: Gotify is written in Go, but you don't need it on your machine. You'll need a free Heroku account, and you should have the Heroku CLI installed on your computer. The free tier has limitations, but for trying out Gotify it's ideal.īy the end of this tutorial, you will have a fully working notification server with free SSL encryption. In this post I will show you how to deploy a Gotify server for free to Heroku. ![]() You don't want to use Google services.Įnter Gotify, an open-source notification server for sending and receiving messages. Pushbullet comes to mind, but you don't want to sign up with Google or Facebook. You can think of interesting ways to send notifications. Maybe you also want to send notifications via REST API. You have several devices and you want to receive notifications from your Android phone to your web browser (or vice versa).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |