Deploy Spring boot application on render.com

  Рет қаралды 30,090

Lynas Sazzad

Жыл бұрын

In this video I am showing how you can deploy you spring boot application on reder.com cloud platform for free
code
github.com/lynas/render-dot-com-spring-hosting

Пікірлер: 45
@nztuber
@nztuber 10 ай бұрын
Thanks for taking the time to share this. Very clear. I had no problems getting set up, as a result.
@ouhoy
@ouhoy 3 ай бұрын
Thank you for the straight forward video. This helped me to deploy my Maven project.
@sheelendersharma8525
@sheelendersharma8525 2 ай бұрын
Hi @ouhoy, I'm also trying to deploy mvn project but it is failing at line number 5 from docker file. pls can you pls assist?
@sheelendersharma8525
@sheelendersharma8525 2 ай бұрын
I'm using mvnw instead of gradlew
@andrelopespereira97
@andrelopespereira97 10 ай бұрын
Thanks, you saved me!
@tomaszw6449
@tomaszw6449 5 ай бұрын
Very good video, short and to the point! Where can I find the appropriate Dockerfile but for a Maven project?
@szLynAs
@szLynAs 4 ай бұрын
Change line 7 Dockerfile to ./mvnw package and then change line 13 to COPY --from=target /target/demo-1.jar app.jar
@kamillo27
@kamillo27 Жыл бұрын
Hi, thanks for video. I don't understnad whats going on in Dockerfile and that;s problem for me. Could you reccomend some materials to find out?
@szLynAs
@szLynAs Жыл бұрын
Search "docker tutorial" on youtube. You can find many learning materials here
@phamtuankhanh5529
@phamtuankhanh5529 Жыл бұрын
i followed you but the result is There was an unexpected error (type=Not Found, status=404).
@jonathanmantello3974
@jonathanmantello3974 Жыл бұрын
Hey great video, very simple, clear, and easy to follow. If you're like me on Windows and editing the project locally, I probably could have changed the gradlew permission another way other than chmod, but I just added this line here: RUN chmod +x ./gradlew RUN ./gradlew bootJar --no-daemon So that it runs on the deployed server beforehand, and that solved the permission issue I was having.
@szLynAs
@szLynAs Жыл бұрын
Thanks for the tips!
@rahimkhan-fh9dd
@rahimkhan-fh9dd Жыл бұрын
I have Acommerce project with multiple microservices like 7 microservices 1 API Gateway 1 Eureka Server Angular App as frontend Each microservices has its own databases like MySQL. Can I use render free tier to deploy my Ecommerce app or there are some limitation of render.
@szLynAs
@szLynAs Жыл бұрын
I dont think you will be able to do it in render or any other platform with free tier
@mihirshinde4268
@mihirshinde4268 3 ай бұрын
did you find any platform?
@rahimkhan-fh9dd
@rahimkhan-fh9dd 2 ай бұрын
@@mihirshinde4268 deployed on Oracle cloud platform
@marcos_silvestri
@marcos_silvestri 3 ай бұрын
Can that auto generated URL at the end can be modified to use a domain of our choice insder Render?
@szLynAs
@szLynAs 3 ай бұрын
Not sure. Please see their docs
@bernout4341
@bernout4341 9 ай бұрын
how do you connect ur app with a postgres database hosted on render?
@bernout4341
@bernout4341 9 ай бұрын
because if you try to build a docker container that depends on a postgresql database, the app with throw an error, how do you go about that?
@szLynAs
@szLynAs 9 ай бұрын
@@bernout4341 I tried with pg did not face any issue. What is the error you are getting?
@naveenrajukopparthi3046
@naveenrajukopparthi3046 4 ай бұрын
Can we deploy spring boot application without docker in that render?
@szLynAs
@szLynAs 4 ай бұрын
Yes you can
@ua_win1402
@ua_win1402 4 ай бұрын
@@szLynAshow
@BusAppResearch
@BusAppResearch 10 күн бұрын
Render is asking credit card details. Anyway to skip that?
@vahanpoghosyan1581
@vahanpoghosyan1581 Жыл бұрын
hi, will this work for hosting Spring Boot Websocket?
@szLynAs
@szLynAs Жыл бұрын
It should work but I am not 100% sure
@user-ps2bk2eh9o
@user-ps2bk2eh9o Жыл бұрын
how do i hide api keys and secrets and still be able to deploy the app?
@szLynAs
@szLynAs Жыл бұрын
In render setting you can set environment variable. You can easily access those variable in your spring application
@rmcf3972
@rmcf3972 8 ай бұрын
Postgres in render is on 90 day free
@0xPaulo.
@0xPaulo. 10 ай бұрын
It worked perfectly, but after a while of inactivity it ends, is that right or did I do something wrong, I would like it to stay 24 hours
@szLynAs
@szLynAs 10 ай бұрын
render does not allow 24 hour availability in the free tier. If you want to keep you app always running there, you have to upgrade to paid subscription
@0xPaulo.
@0xPaulo. 10 ай бұрын
@@szLynAs I understand, thank you very much for your attention, tell me something, if I leave a browser window reloading, will it think that it always has some use and will not close, or does the timer count elsewhere, could you tell me?
@szLynAs
@szLynAs 10 ай бұрын
@@0xPaulo. I am not sure how it will behave. you can give it a try and see for yourself
@alifurkan1599
@alifurkan1599 2 ай бұрын
I got this error on Render Do you have any suggestion? error: failed to solve: process "/bin/sh -c ./gradlew bootJar --no-deamon" did not complete successfully: exit code: 1
@HaiNguyen-mp5rr
@HaiNguyen-mp5rr 2 ай бұрын
I also got the same error,how to resovle it
@TheGeminiJohn285
@TheGeminiJohn285 2 ай бұрын
I got the same error, has anyone found a solution?
@remix1xandre
@remix1xandre 21 күн бұрын
same :,(
@kekko9683
@kekko9683 4 ай бұрын
It's the same for maven?
@szLynAs
@szLynAs 4 ай бұрын
Yes
@igbokwevictor4866
@igbokwevictor4866 Жыл бұрын
Would this work for maven also?
@szLynAs
@szLynAs Жыл бұрын
yes
Happy 4th of July 😂
00:12
Pink Shirt Girl
Рет қаралды 61 МЛН
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 10 МЛН
- А что в креме? - Это кАкАооо! #КондитерДети
00:24
Телеканал ПЯТНИЦА
Рет қаралды 6 МЛН
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 99 МЛН
Happy 4th of July 😂
00:12
Pink Shirt Girl
Рет қаралды 61 МЛН