Django & Postgres with Docker Best Practices

Поділитися
Вставка
  • Опубліковано 1 лют 2025

КОМЕНТАРІ • 19

  • @chandruscm
    @chandruscm 3 роки тому +4

    I was doing docker wrong! :D Thanks a lot for showing best practices!

  • @nnamdiekweariri
    @nnamdiekweariri Рік тому +1

    Thanks so much for your explanations. However, I would like to see you make video on how to connect the containerised django app with a locally running instance of postgres database.

  • @yasabhishek
    @yasabhishek 3 роки тому

    Thanks for the video, you cleared a lot of my confusion.

  • @deivydaspagojus418
    @deivydaspagojus418 6 місяців тому

    Hi. Thanks for the great video. Can you suggest where to look for effective tutorial on how to setup Django to run on Could SQL? Or make a video yourself about this?

  • @alessandroscimone5463
    @alessandroscimone5463 2 роки тому +3

    Fantastic! Very helpful. What I don't understand and how to distribute it, for example, on Linode, DigitalOcean or similar?

  • @nielsSavantKing
    @nielsSavantKing Рік тому

    @Beyond Datbase. I don't understand that you still put the database in a docker container in the production compose file. Because you say it by yourself that it is not wise to put a database in a docker container in production. So we can omit the database container in production?

  • @ballinlikebill8334
    @ballinlikebill8334 3 роки тому +1

    With your setup i could configure nginx on the host machine so that i could even have multiple apps running on dockercontainers right?

  • @janekalam
    @janekalam 2 роки тому

    Good job!

  • @saharhatami5970
    @saharhatami5970 3 роки тому +1

    thanks it was helpful video. where can i find tutorial's code?

    • @BeyondDatabase
      @BeyondDatabase  3 роки тому

      You can find it here: github.com/alicmp/djnago-postgres-docker-starter

    • @pil_low
      @pil_low 3 роки тому +1

      @@BeyondDatabase please make a video on full deployment setup with Zappa and Docker.. Thanks in advance.

  • @Deeredman4
    @Deeredman4 16 днів тому

    5:35 hold up, you're telling us that this is "best practices" but then you are saying don't use psycopg in production?

    • @sunilchaudhary-t6d
      @sunilchaudhary-t6d 13 днів тому

      Not use psycopg-binary in production use only psycopg2

  • @amirh.zeidabadi846
    @amirh.zeidabadi846 2 роки тому

    ro englisit car kon aberomono bordi. in jomle ke gofti "we don't use docker in production" az koja ovordi???🤭

  • @Anu_was_here
    @Anu_was_here 3 роки тому

    After following the whole tutorial :( you said Docker is not recommended..

    • @ernestezis9526
      @ernestezis9526 2 роки тому +3

      That's not what he said. He said that Docker added a layer of complexity and in production it might be better to use RDS for Postgresql. He seems to be implying that Django and Gunicorn should run in Docker but Nginx and Postgresql should not.

    • @onyilimba
      @onyilimba Рік тому

      @@ernestezis9526 He was actually talking about nginx, which I think is a bad advice from his part.

    • @postermelone6761
      @postermelone6761 11 місяців тому

      He usee gunicorn, how does static files get solved without nginx then, is he amatuer? Or am i?

  • @onyilimba
    @onyilimba Рік тому

    Why would you advice against creating nginx in production. The excuse you gave is a very poor one.