1. Spin up a Postgres Docker Container locally!

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

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

  • @freddyboy84
    @freddyboy84 Год назад +5

    Liking your step by step series - very clear explanations and very helpful to see how you work

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

    Thanks for numbering your videos. It really helps because I keep re-doing the project. Getting reps in.

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

    That's great! Thanks for the content Jacob!

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

    I was looking for this explanation mate really thank you.

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

    Thank you for your effort! It was good time to remind what is psql & docker!

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

    watching 1st vid.
    excellent tutorial.
    (commenting after watching other videos and again starting back)
    useful for new-bees too.
    a request will be for chat application like whatsapp with plain javascript so that we can implement on native android.
    thanks.

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

      Thank you! These videos are great for new comers for sure!

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

    Great video! Thank you for the amazing content!
    Question: What is your vscode theme? I'm in love..

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

      Thank you! The theme is Elixir Theme by Maiqui Tome: marketplace.visualstudio.com/items?itemName=maiquitome.elixir-theme

  • @cryswerton-silva
    @cryswerton-silva 5 месяцев назад +1

    Nice!

  • @Any_key404
    @Any_key404 Год назад +3

    There’s a Trojan on the official Postgres Docker image? This seems like something that needs addressing.

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

      haha I couldn't agree more, it's pretty crazy it made its way into the stable image

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

    ty,

  • @jaimeandres1041
    @jaimeandres1041 8 месяцев назад

    Thanks for this great tutorial, but I think you forgot to include the expiration time in the refresh method.

    • @elixirmentor
      @elixirmentor  8 месяцев назад

      Thank you! On the Postgres docker video? If you're talking about the Guardian implementation check out this video: ruclips.net/video/FTpRJ-YOKM8/видео.html

    • @jaimeandres1041
      @jaimeandres1041 8 месяцев назад

      @@elixirmentor when refreshing a token, you typically use the code Guardian.refresh(old_token). however, what I meant is using Guardian.refresh(id_token, [token_options: "admin", ttl: {90, :day}]), which will include ttl options in the JWT.

    • @elixirmentor
      @elixirmentor  8 месяцев назад +1

      Oh, gotcha! I was a bit mixed up about which video you were commenting on. No worries, though! If you stick with the series, you'll see we cover token expiration in a later episode. Thanks for the comment!

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

    Hi, is it possible to have postgres and NGINX in the same container ?

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

      Yes, you can run both Postgres and NGINX in the same Docker container, but it's not recommended. The better practice is to use Docker Compose to run each service in its own container for easier management, scaling, and troubleshooting.

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

      ​@@elixirmentor Thanks a lot and thanks for your really great videos! I think what I'm looking for is on the kubernetes side. (I'd like each client to be isolated with its own database, basically once the client is identified it should be redirected to its own environment, I don't want a "monolithic" database). All the best to you all

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

      Creating a new database for each client that joins your platform is a form of multi-tenancy known as "Database per Tenant" architecture.

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

      @@elixirmentor Thanks a lot !

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

    hope that trojan doesn't get me, im so spooked rn