Django & Postgres with Docker Best Practices

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

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

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

  • @deivydaspagojus418
    @deivydaspagojus418 4 месяца назад

    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?

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

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

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

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

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

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

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

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

  • @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 2 года назад

    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 9 месяцев назад

      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.