#docker image building

32 messages · Page 1 of 1 (latest)

covert wedge
#

Hi, so i have dockerized my spring boot project in order to run it on railway, i tested it and then tried to deploy, i saw that it was taking already too much time(around 15mins) so i stopped the deploy and tested it again locally, it works
Started again the deploy but it shows nothing, the logs are clear for some reasons

modern sandBOT
#

Project ID: 8f52cb5c-cd99-4491-936e-b8b2e301b6c1

covert wedge
#

8f52cb5c-cd99-4491-936e-b8b2e301b6c1 thats the project id

covert wedge
#

update: this is after 26mins of deployment

gleaming mountain
#

Oh my mistake those were your build logs

#

!team

covert wedge
#

maybe thats because of the incident thats happening rn?

gleaming mountain
#

Might be. We'll see what the team says

covert wedge
#

okok, ty so much!

gleaming mountain
#

No problem! It may be worth trying to redeploy in a new project in the meantime. Let me know how that goes

lost ocean
#

you have omitted the image tag, the source image should be tagged with 1.0

#

in the service settings, click on the edit icon besides the image, and then prepend :1.0

covert wedge
#

wait, sorry for the dumb question but, what u mean by service settings?

covert wedge
#

ohhh ye!!! now it works ty so much guys

#

just one more question if its possible, which is the url i should use to make http calls?the one in private networking?

lost ocean
#

you would want to generate a domain

covert wedge
#

ye i did it, but i get error 502 when i try to do a get request

lost ocean
#

your app crashed

covert wedge
#

ye just saw it ig i will check why

#

ty anyway

lost ocean
#

ill let adam take it from here

covert wedge
#

sorry guys, mb im dumb i forgot to set the security group rules on rds, where could i find the ip of the connection from railway?

gleaming mountain
covert wedge
#

so i just set 0.0.0.0/0?

gleaming mountain
#

What are you trying to accomplish?

covert wedge
#

since my db runs on rds, i need to set the rule to let railway access my db

#

and since railway doesnt have static ip on the base version my guess was to set 0.0.0.0/0 and test if the app crashes again

#

ok worked out, u can close the ticket if u want

#

ty so much guys!!

gleaming mountain
#

!s