2 years ago
Hello guys, i need help deploying gotify docker image in railway.
So database is ok, and i get
Starting Gotify version 2.4.0@2023-09-17-08:24:00
Started Listening for plain HTTP connection on :80
But the web ui is not working when i visit my domain i get Application failed to respond
Can anyone help ?
82 Replies
2 years ago
Can you give this doc section a try?
https://docs.railway.app/guides/fixing-common-errors
Ty for reply I'll read that but my knowledge in docker/containers is limited. I searched for a template but not found any for gotify.
2 years ago
hey @Asmir does this template work for you?
2 years ago
it's likely not broken, the database does not come publicly exposed by default, was going to add a note about that.
and the variables are missing but that does not matter because you should not use the data tab, it's super buggy, instead use a proper database client like dbgate
2 years ago
not unless you need manual access to the database, gotify connects the the database privately already
2 years ago
railways proxy takes a bit to register the routes for new domains
2 years ago
no problem!
Oh last thing do you know how to install iGotify with it please ?
https://github.com/androidseb25/iGotify-Notification-Assistent
If you have time would be amazing a template for https://github.com/binwiederhier/ntfy aswell it's a cool alternative project !
2 years ago
I do have one for ntfy (not public) but that requires cli access to the container to setup authentication and a bunch of other stuff (railway does not allow such access)
i already succesfully tried to make ntfy work on desktop but it has weird configuration to make it work with the ios app… thats why i wanted to install gotify instead but it asks two installs…
2 years ago
I'll try my hand at igotify
a last question if i you don't mind is there a way to self host a service such as cloudinary for images/videos at railway ? that can process image resizing/optimization and expose a public url ? i havn't found any relative informations actually
2 years ago
im not aware of anything off the top of my head, but if you find something id be happy to take a crack at making a template for it
2 years ago
@Asmir give this a try?
2 years ago
though you would want to use the + New button to deploy it into the same project as your gotify service
what + New button you mean ?
Like the + New then template and i select iGotify ?
2 years ago
correct
2 years ago

2 years ago
you deployed gotify again
2 years ago
nope
2 years ago
screenshot of the project again please
2 years ago
nope, you selected Gotify
2 years ago
you are trying to deploy Gotify again
2 years ago
no worries
Looks fine ! Not perfectly understood how to connect to the notification "room" from the iOs app but the servers works ty m8 !
2 years ago
unless ntfy provides a way to configure auth via environment variables, i cant see it being possible, unless you are okay with ntfy without auth?
2 years ago
go for it then
the main issue with that is the fact that to make self hosted app work with the iOs app and the config seems to be a tricky configuration
2 years ago
the template might not even work for you then, ntfy is very limited without cli access, not just auth wise
about gotify idk if it's i'm auth to the app but idk if igotify is passing the notifications, i'm authed etc but i don't see any messsages etc… thats weird
2 years ago
i dont have an iphone so i couldnt test
2 years ago
did you give it the same username and password that is in the Gotify service variables?
2 years ago
and try with https:// in both those url fields
2 years ago
its trying to use http

2 years ago
same issue?
2 years ago
awsome!!
2 years ago
happy to help
2 years ago
thank you very much






