Complete Guide to Keycloak On Docker - DEV To PROD

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 75

  • @epoxyde
    @epoxyde 2 года назад +7

    I've learned so much from this video. I'm glad I clicked on it. You made things easy to uderstand and your explanations are great (and up to date !!). Thanks a lot for creating these keycloak guides, I hope you will continue to do so. I'm going to bookmark this channel and watch the rest of your videos. This is great.

    • @Tekgainers
      @Tekgainers  2 года назад

      Thanks a lot for such an appreciation 🙂

  • @dalchandsharma6556
    @dalchandsharma6556 9 месяцев назад

    I was searching for a few things to understand about Keycloak and then i found this video. This is one of the best video on Keycloak. You explained it very well. Thank you so much for such an awesome video sir. Grateful for this.

    • @Tekgainers
      @Tekgainers  9 месяцев назад

      Thanks a lot 😊😊

  • @aavezshaikh6232
    @aavezshaikh6232 3 месяца назад +2

    Can you please make a video to connect with PostgreSQL, or pls share any document/video link for the same. Thanks for this video.

    • @lofiuwu
      @lofiuwu 2 месяца назад

      I would really appreciate this video also

  • @Carspecialggn
    @Carspecialggn Год назад

    Extremely Helpful guided video, the production server is up in minutes. Much appreciated.

  • @shivamagarwal4035
    @shivamagarwal4035 2 года назад +3

    Please Cover Below Topic using Kubernetes world or helm charts
    1. Deployment of a custom theme
    2. setup of SSL/TLS,
    3. Deployment of custom event listeners,
    4. connecting to listeners to any queue
    5. Achieve automatic full export of keycloak, rest API support partial export
    6. Enabling caching
    By the way, your videos are awesome and very useful.

    • @Tekgainers
      @Tekgainers  2 года назад +1

      Thanks Shivam for reaching out and appreciating. Related to topics you have mentioned, sure I will bring videos on that.
      Please subscribe to the channel if not already.

  • @ransela6139
    @ransela6139 2 года назад +1

    great content thank you!!.. follow up video detailing how to secure a spa in vue or svetle would be awesome!

    • @Tekgainers
      @Tekgainers  2 года назад +1

      Thanks a lot for appreciating the content. Sure, will bring something on securing SPA.
      Subscribe to the channel if not already for more videos and notification.

  • @OngAnhIT1995
    @OngAnhIT1995 Месяц назад +1

    Thank you, This video is useful

    • @Tekgainers
      @Tekgainers  Месяц назад

      Thanks for watching 👍🏼👍🏼

  • @Andrei-qx5zc
    @Andrei-qx5zc 5 месяцев назад

    Thank is a very nice, in depth tutorial, thank you very much!

    • @Tekgainers
      @Tekgainers  5 месяцев назад

      Thanks @Andrei 👍🏼👍🏼

  • @aniketlodh4305
    @aniketlodh4305 6 месяцев назад

    Thank you very much. Gem of a video you made!

    • @Tekgainers
      @Tekgainers  6 месяцев назад

      Thanks for appreciating 😊😊

  • @kevindegraaf9405
    @kevindegraaf9405 7 месяцев назад +1

    Great video, thanks!

  • @the-official-dema-dot-shop
    @the-official-dema-dot-shop 6 месяцев назад

    Hi... This was a very well done video. Most are not. If you are Chandra, I wanted to share that you've made it easier for me at least (and I think for many) to have confidence in coming back to your channel. Is there a way to connect with you?

    • @Tekgainers
      @Tekgainers  6 месяцев назад

      Thanks for such an appreciation and hope you will share it as well. Thanks 🙏

  • @member7760
    @member7760 Год назад

    thank you, this is so good explained and easy to follow. Im new in this topic and I can understand you while breaking my brain reading other articles :))

  • @hughesadam87
    @hughesadam87 7 месяцев назад +1

    very helpful thanks!

    • @Tekgainers
      @Tekgainers  7 месяцев назад

      Thanks for watching 👍🏼👍🏼

  • @lofiuwu
    @lofiuwu 2 месяца назад

    Can you do an updated guide on this? It seems the production method you used here has been deprecated :(

    • @Tekgainers
      @Tekgainers  2 месяца назад +1

      Definitely I can do that… keycloak is going at a rapid speed to roll upgrades

    • @lofiuwu
      @lofiuwu 2 месяца назад

      ​@@Tekgainers Thank you!!

  • @somecompany3506
    @somecompany3506 2 года назад +1

    Great lesson! Thank you.

    • @Tekgainers
      @Tekgainers  2 года назад

      Please subscribe to the channel if not already for more videos ☺️

  • @wonsupjung2527
    @wonsupjung2527 Год назад

    Thank you for your great tutorial !!!. It is very helpful for me.

  • @gyanichimrai6388
    @gyanichimrai6388 Год назад

    wiil you plz create a video of how can i create keycloak custom theme using react.

  • @prakashpathi1071
    @prakashpathi1071 Год назад

    excellent job with the tutorial

  • @bhushan0504
    @bhushan0504 Год назад

    hello, nice video. I have keyclock 16.1.1 installed on kubernetes cluster. i want to upgrade it to latest keyclock version. does you have any specific documenation to do this fro backend or frontend.

  • @bangonkali
    @bangonkali 2 года назад +1

    Hi, is it okay to have version 18 and 19 sharing the same database? Let's say you are in a middle of a no downtime transition from 18 to 19. Wherein one will deploy a 19 keycloak without bringing down 18.

    • @Tekgainers
      @Tekgainers  2 года назад +1

      Bangon, for this we need to validate the db scripts if those are same. If all good, we can use the same db. I have done this earlier and it worked.

    • @Tekgainers
      @Tekgainers  2 года назад +1

      Subscribe to the channel if not already.

  • @deepakpanwar3800
    @deepakpanwar3800 Год назад +1

    Indeed a good one 🤟

  • @beastff5860
    @beastff5860 Год назад

    How can use my AWS ACM cert here

  • @rayanfadhlaoui4823
    @rayanfadhlaoui4823 6 месяцев назад

    I've been strugguling with some errors when doing this
    when I start keycloak, it crashes with this exception -> 2024-04-09 13:35:26,703 WARN [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator] (JPA Startup Thread) HHH000342: Could not obtain connection to query metadata: java.lang.NullPointerException: Cannot invoke "org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(java.sql.SQLException, String)" because the return value of "org.hibernate.resource.transaction.backend.jta.internal.JtaIsolationDelegate.sqlExceptionHelper()" is null
    Anyone had the same issue ?

  • @sathishbabu3867
    @sathishbabu3867 2 месяца назад +1

    how to connect keycloak with sql server?

    • @Tekgainers
      @Tekgainers  2 месяца назад

      All you need is to place the sql server jar file in lib folder and provide the connection details in the configuration.

  • @iamashishprajapat
    @iamashishprajapat Год назад

    How to import realm into a docker based keycloak installation ?

  • @jimfranz3477
    @jimfranz3477 2 года назад +1

    Thanks for this tutorial. Keycloak seems very but is missing documentation badly. I followed through your tutorial but ran across same issue as Madhav Reddy below. If I install as a test production using 8080 everything seems to work except when referencing from test website. If I install using production steps (without MYSql) KC won't even display and returns with site can't be reached. I'm attempting to get this running under a DigitalOcean server and just not making headway. The start_dev doesn't really seem to make any difference. Did you find a solution for Madhav below? Yes I subscribed since you cover theming too which I need to look into next.

    • @Tekgainers
      @Tekgainers  2 года назад

      Jim, I can't say anything without getting more inputs from your end which include logs while starting. Have you tried this in local docket setup? Are you facing the same issue?

    • @yassinezemmouri199
      @yassinezemmouri199 Год назад

      seems very what ?

  • @urd3494
    @urd3494 2 года назад +1

    Could you upload one video about how to change the themes and Email theme of keycloak

    • @Tekgainers
      @Tekgainers  2 года назад

      Thanks for reaching out Unmesh. Video regarding themes is already available on my channel. Here is the link ruclips.net/video/Xg5y57BedoE/видео.html . For Email, yes sure I will bake the content and soon publish.
      Please subscribe to the channel to get the notification for all my videos.

    • @Tekgainers
      @Tekgainers  2 года назад

      ruclips.net/video/0cf5NvkJhlA/видео.html video out now.

  • @atmaling
    @atmaling 2 года назад +1

    Good Tutorial 👍

  • @johnnydeymisson1842
    @johnnydeymisson1842 Год назад

    Hello my friend, I'm trying to connect keycloak to a docker container on another network, is it possible if so can you help me?

    • @Tekgainers
      @Tekgainers  Год назад

      It's possible Johnny by exposing Keycloak via services. You can expose ports for outside traffic.

  • @plasticwolf3682
    @plasticwolf3682 Год назад

    Hey i was trying to use keycloak in production mode but its not working with the same code. You have any updated files or is there something wrong. Using keycloak 20. I just get an emty localhost. And its stuck by admin realm is allready created

    • @Tekgainers
      @Tekgainers  Год назад

      Please share the logs so that we can get to know the issue. White screen is not providing any clues.

  • @harisahmad7871
    @harisahmad7871 6 месяцев назад

    Great video, but this could have improved using `docker-compose`

  • @niraj4u2
    @niraj4u2 2 года назад +1

    How to install on EC2 server and deploy on domain or public ip

    • @Tekgainers
      @Tekgainers  Год назад

      Niraj, first of all apologies for replying late. If still this is a question which has not got any answer, I would like to tell you that deployment on EC2 server will be same as we run on our own machine. For public IP, you need to do configuration in your AWS account where you can do IP to public domain mapping. If your domain from external vendor just check if congratulations required at both ends.

  • @Mfbzai
    @Mfbzai 11 месяцев назад

    Hi brother I can find Course Slides and Docker file from above link

  • @devchri
    @devchri 2 года назад

    Hi! You lost me at creating a keystore. What do I need to install to be able to run the keytool command you shared?

    • @Tekgainers
      @Tekgainers  2 года назад +1

      Which OS are you using Christopher? Keytool is available with JDK. If you have the environment variables configured correctly you will be able to run the commands in command prompt in windows and shell in UNIX.
      Let me know if still you are facing difficulty.
      Please subscribe to the channel if not already.🙂

    • @devchri
      @devchri 2 года назад

      @@Tekgainers Hi! I am using MacOS (Monterey 12.5) So I will need to install JDK first, then run the command?

    • @Tekgainers
      @Tekgainers  2 года назад

      Christopher, best option is to Google how to generate keystore in macos. I won't be of much help as I am into windows and unix only.

  • @madhavreddy6008
    @madhavreddy6008 2 года назад

    It was a great tutorial regarding keycloak. Thanks to your efforts.
    I have one doubt, When i am running the keycloak application using "docker run" command, using the image tag as *latest/17.0.1* (start-up command is "start-dev"). When i am accessing the application within the browser it is giving "HTTPS Required" error. How to fix that error. Can you please help me on this

    • @Tekgainers
      @Tekgainers  2 года назад +1

      Madhav if we are running with start-dev ideally it should not give this issue. Let me have a look today and will let you know. In the mean time, can you post the commands here what you have run.

  • @dontscrollitt
    @dontscrollitt 2 года назад

    Procide me link to download Slides plz.

    • @Tekgainers
      @Tekgainers  2 года назад

      Not downloadable Sudip. I will put pdf in GitHub, from there you can access. You need to wait for sometime. Will notify once uploaded.

  • @anhaoguo-ys5iv
    @anhaoguo-ys5iv Год назад

    Thank you. According to your video, my docker successfully started keycloak
    In addition, can I start the production environment of keycloak without configuring the database? Use the database provided by keycloak?thank you。
    When the database is not configured, an error is reported when keycloak is started in production mode:
    2023-02-14 08:40:14,020 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Failed to start server in (production) mode
    2023-02-14 08:40:14,020 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Failed to obtain JDBC connection
    2023-02-14 08:40:14,020 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Feature not supported: "autoServerMode && (readOnly || fileLockMethod == NO || fileLockMethod == SERIALIZED || fileLockMethod == FS || inMemory)" [50100-197]
    2023-02-14 08:40:14,021 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) For more details run the same command passing the '--verbose' option. Also you can use '--help' to see the details about the usage of the particular command.

  • @dontscrollitt
    @dontscrollitt 2 года назад +1

    Did anyone got slides ?

    • @Tekgainers
      @Tekgainers  2 года назад

      docs.google.com/presentation/d/1ggCCwwsPPN4bgAVadf82ATJ-_fbqto9gSgbMg6aK2Cg/edit?usp=sharing

  • @angelapetrone
    @angelapetrone Год назад

    Hey. This video was great so far! At about minute 14 I am receiving an error when trying to Check MySQL connection with WorkBench. When I run the command you have in Step 3 on the third slide I get this error: "Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure". Seems related to the driver, which I didn't manage to connect. Any help is appreciated : )