Deploy Spring boot application on render.com

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 เม.ย. 2023
  • 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-c...

ความคิดเห็น • 45

  • @ouhoy
    @ouhoy 3 หลายเดือนก่อน +2

    Thank you for the straight forward video. This helped me to deploy my Maven project.

    • @sheelendersharma8525
      @sheelendersharma8525 3 หลายเดือนก่อน

      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 3 หลายเดือนก่อน

      I'm using mvnw instead of gradlew

  • @nztuber
    @nztuber 11 หลายเดือนก่อน +1

    Thanks for taking the time to share this. Very clear. I had no problems getting set up, as a result.

  • @andrelopespereira97
    @andrelopespereira97 11 หลายเดือนก่อน

    Thanks, you saved me!

  • @phamtuankhanh5529
    @phamtuankhanh5529 ปีที่แล้ว

    i followed you but the result is There was an unexpected error (type=Not Found, status=404).

  • @tomaszw6449
    @tomaszw6449 5 หลายเดือนก่อน +3

    Very good video, short and to the point!
    Where can I find the appropriate Dockerfile but for a Maven project?

    • @szLynAs
      @szLynAs  5 หลายเดือนก่อน +3

      Change line 7 Dockerfile to ./mvnw package and then change line 13 to COPY --from=target /target/demo-1.jar app.jar

  • @kamillo27
    @kamillo27 ปีที่แล้ว +2

    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

  • @jonathanmantello3974
    @jonathanmantello3974 ปีที่แล้ว +1

    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  ปีที่แล้ว +1

      Thanks for the tips!

  • @rahimkhan-fh9dd
    @rahimkhan-fh9dd ปีที่แล้ว +2

    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  ปีที่แล้ว +3

      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 3 หลายเดือนก่อน

      @@mihirshinde4268 deployed on Oracle cloud platform

  • @marcos_silvestri
    @marcos_silvestri 4 หลายเดือนก่อน

    Can that auto generated URL at the end can be modified to use a domain of our choice insder Render?

    • @szLynAs
      @szLynAs  4 หลายเดือนก่อน

      Not sure. Please see their docs

  • @BusAppResearch
    @BusAppResearch หลายเดือนก่อน

    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

  • @naveenrajukopparthi3046
    @naveenrajukopparthi3046 5 หลายเดือนก่อน +2

    Can we deploy spring boot application without docker in that render?

    • @szLynAs
      @szLynAs  5 หลายเดือนก่อน

      Yes you can

    • @ua_win1402
      @ua_win1402 4 หลายเดือนก่อน +2

      @@szLynAshow

  • @bernout4341
    @bernout4341 9 หลายเดือนก่อน +1

    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?

  • @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

  • @alifurkan1599
    @alifurkan1599 2 หลายเดือนก่อน +1

    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 หลายเดือนก่อน

      same :,(

  • @kekko9683
    @kekko9683 5 หลายเดือนก่อน

    It's the same for maven?

    • @szLynAs
      @szLynAs  5 หลายเดือนก่อน

      Yes

  • @0xPaulo.
    @0xPaulo. 11 หลายเดือนก่อน

    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  11 หลายเดือนก่อน

      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. 11 หลายเดือนก่อน

      @@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  11 หลายเดือนก่อน

      @@0xPaulo. I am not sure how it will behave. you can give it a try and see for yourself

  • @rmcf3972
    @rmcf3972 8 หลายเดือนก่อน

    Postgres in render is on 90 day free

  • @igbokwevictor4866
    @igbokwevictor4866 ปีที่แล้ว +1

    Would this work for maven also?