Deploying gotify from docker Application failed to respond

asmirbelkic
HOBBY

a year 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 ?

0 Replies

asmirbelkic
HOBBY

a year ago

50b8a73e-0a0d-4fd4-9bc6-b69295b1d24d


a year ago

Can you give this doc section a try?
https://docs.railway.app/guides/fixing-common-errors


asmirbelkic
HOBBY

a year ago

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.


a year ago

hey @Asmir does this template work for you?


asmirbelkic
HOBBY

a year ago

@Brody Hey M8 ! I'll give it a try thank's !


asmirbelkic
HOBBY

a year ago

the postgresql setup seems to be broken


asmirbelkic
HOBBY

a year ago

some env variables are missing such as PGUSER etc


a year 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


asmirbelkic
HOBBY

a year ago

the fact that it's not publicly exposed makes a difference ?


a year ago

not unless you need manual access to the database, gotify connects the the database privately already


asmirbelkic
HOBBY

a year ago

all right
but getting nothing here yet from domain

1218322705758158800


a year ago

railways proxy takes a bit to register the routes for new domains


asmirbelkic
HOBBY

a year ago

yep i've heard of that i'll wait and come back to you, thanks brody


asmirbelkic
HOBBY

a year ago

@Brody Perfectly works thank you sir ! 🔥


a year ago

no problem!


asmirbelkic
HOBBY

a year ago

Oh last thing do you know how to install iGotify with it please ?
https://github.com/androidseb25/iGotify-Notification-Assistent


asmirbelkic
HOBBY

a year ago

If you have time would be amazing a template for https://github.com/binwiederhier/ntfy aswell it's a cool alternative project !


a year 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)


asmirbelkic
HOBBY

a year ago

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…


asmirbelkic
HOBBY

a year ago

yep thats why… i guess


asmirbelkic
HOBBY

a year ago

i couldn't make it work because of that restriction


a year ago

I'll try my hand at igotify


asmirbelkic
HOBBY

a year ago

your daboss


asmirbelkic
HOBBY

a year ago

ty vm tho


asmirbelkic
HOBBY

a year ago

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


a year 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


asmirbelkic
HOBBY

a year ago

ill check that !


a year ago

@Asmir give this a try?


a year ago

though you would want to use the + New button to deploy it into the same project as your gotify service


asmirbelkic
HOBBY

a year ago

i try that


asmirbelkic
HOBBY

a year ago

what + New button you mean ?
Like the + New then template and i select iGotify ?


a year ago

correct


a year ago

1218338489599524900


asmirbelkic
HOBBY

a year ago

got that

1218338725784850700


a year ago

you deployed gotify again


asmirbelkic
HOBBY

a year ago

thats what template asked for


a year ago

nope


asmirbelkic
HOBBY

a year ago

i remove and retry


a year ago

screenshot of the project again please


asmirbelkic
HOBBY

a year ago

1218339129457119200


asmirbelkic
HOBBY

a year ago

i selected template iGotify

1218339284361281500


a year ago

nope, you selected Gotify


asmirbelkic
HOBBY

a year ago

wut wait


a year ago

you are trying to deploy Gotify again


asmirbelkic
HOBBY

a year ago

1218339636691079200


asmirbelkic
HOBBY

a year ago

ur right the search was buggy had to retry … my bad sorry


a year ago

no worries


asmirbelkic
HOBBY

a year ago

ok building


asmirbelkic
HOBBY

a year ago

ok desktop works i give it a try with the ios app now


asmirbelkic
HOBBY

a year ago

Looks fine ! Not perfectly understood how to connect to the notification "room" from the iOs app but the servers works ty m8 !


asmirbelkic
HOBBY

a year ago

hope that ntfy will work soon with railway 😄 !


a year 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?


asmirbelkic
HOBBY

a year ago

actually yeah i don't care about auth


asmirbelkic
HOBBY

a year ago

no sensible data will be exposed


a year ago

go for it then


asmirbelkic
HOBBY

a year ago

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


asmirbelkic
HOBBY

a year ago

i'll try it !


a year ago

the template might not even work for you then, ntfy is very limited without cli access, not just auth wise


asmirbelkic
HOBBY

a year ago

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


a year ago

i dont have an iphone so i couldnt test


asmirbelkic
HOBBY

a year ago

oh sadge


asmirbelkic
HOBBY

a year ago

1218346842790690800


asmirbelkic
HOBBY

a year ago

if i try to connect as admin


asmirbelkic
HOBBY

a year ago

ios hides the password but there is one


a year ago

did you give it the same username and password that is in the Gotify service variables?


a year ago

and try with https:// in both those url fields


asmirbelkic
HOBBY

a year ago

yes i did, and can't add https:// its prefixed


asmirbelkic
HOBBY

a year ago

i'll select 443


a year ago

its trying to use http

1218347571945279700


asmirbelkic
HOBBY

a year ago

yup thats why i selected https now


a year ago

same issue?


asmirbelkic
HOBBY

a year ago

im trying


asmirbelkic
HOBBY

a year ago

1218347898669105200


asmirbelkic
HOBBY

a year ago

ooh wait


asmirbelkic
HOBBY

a year ago

DAMN YES


asmirbelkic
HOBBY

a year ago

i just had to remove the app from gotify now works perfectly


a year ago

awsome!!


asmirbelkic
HOBBY

a year ago

you are awesome !


asmirbelkic
HOBBY

a year ago

thank you for you support & time 😄 ! ❤️


a year ago

happy to help


asmirbelkic
HOBBY

a year ago

that deserved a coffee 😄 !


a year ago

thank you very much


Deploying gotify from docker Application failed to respond - Railway Help Station