Dockerize a Django application I Re-optimized

Поділитися
Вставка
  • Опубліковано 30 лис 2024

КОМЕНТАРІ • 42

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

    Such great tutorials, love the way you explain and get to the point without losing the purpose of the video! Keep up with the good work, so useful!

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

      Thank you so much! I really appreciate your kind feedback, and I'm glad that you are enjoying the content!

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

    Very Simple & Easy tutorial. Thanks man, this just saved me a shit ton of time. Hope you grow well on youtube🤞🤞

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

      Thank you so much for your comment and your kindness! I'm glad that you found the tutorial to be of use to you! All the best to you!

  • @mouhebmestiri3565
    @mouhebmestiri3565 5 місяців тому +1

    thank you , i have a question is that it about docker in django or there is other thing to do in docker

    • @CloudWithDjango
      @CloudWithDjango  5 місяців тому

      My pleasure. Yes, it's about how to dockerise a Django application. Sure, there are other ways to dockerise it and many other things to learn, such as using multiple containers, volumes and docker-compose etc.

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

    Thank you! Helped a lot and works very well!

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

      Of course, my pleasure! Glad that it works for you!

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

    Thank you for this! Can you run a production app from docker?

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

      My pleasure! It is seldom that you would run your production app on Docker on a long-term basis. It is preferable to rather use a Cloud service provider such as AWS, Azure or GCP. From my experience, I tend to use Amazon ECR to store my docker images and Amazon ECS to run and manage my docker containers.

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

    How can the setup be adjusted so one can continue developing from within the container?

  • @bethuelthipe-moukangwe7786
    @bethuelthipe-moukangwe7786 9 місяців тому

    Keep up with the good work, so useful!

  • @pranavingale6850
    @pranavingale6850 10 місяців тому

    After making this dockerfile we can straight away upload this to our GitHub account, or do we need some extra steps to upload on github?

    • @CloudWithDjango
      @CloudWithDjango  10 місяців тому

      Hi,
      You can upload any files (including your docker file) at any time.
      If however, you are trying to add in automation with your code, then you would need to do some additional research outside of this video.

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

    Hi! Very useful, thanks! I got a doubt, I saw your video for django+gunicorn+nginx for EC2 (thanks again), but here using docker you just used the default django server, if using docker you suggest to use it this way? or it should have in docker also an nginx reverse proxy?

    • @CloudWithDjango
      @CloudWithDjango  Рік тому +2

      Hi Edward,
      Thank you for reaching out and for your feedback.
      No worries! I'm glad that my nginx course was helpful to you! Thank you for enrolling in it.
      The truth of the matter is that I get a lot of requests on Docker. Many people just want to understand the meaning behind 'dockerization' and how to 'dockerize a django app'.
      So, to be clear, yes you can use docker with the default django server, however it is not suitable for production workloads.
      It really depends, since you can create a docker image in many ways. I would only recommend that you use docker with the default django server if you are doing general testing.
      You should always deploy your Docker images externally I.e. via AWS, Azure or GCP etc. If you plan on launching a production app.
      For simple testing, this video gives you a good idea.
      I would suggest that you utilize Docker + Nginx (reverse proxy) for long-term applications instead of what is demonstrated in this video.

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

      @@CloudWithDjango thanks a lot! You are doing a lot of helpful quality content and your support to your audience is really great!

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

      It is a great pleasure, Edward!
      I really appreciate your kind feedback!
      All the best!

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

    is it because we have copied the migrations folder so we don't need to run makemigrations and migrate?

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

      Once we have made our migrations and our application is complete. We copy it yes.

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

    Thank you man

  • @mehdismaeili3743
    @mehdismaeili3743 8 місяців тому

    Excellent.

  • @gowthammanikanta3318
    @gowthammanikanta3318 9 місяців тому

    Pip3 install -r requirements.txt is not working

    • @vscapetv2937
      @vscapetv2937 9 місяців тому

      pip install -r requirements.txt or python3 -m pip install -r requirements.txt ALL LOWERCASE.

    • @CloudWithDjango
      @CloudWithDjango  4 місяці тому

      Thank you for your input!

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

    Thank you!

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

    can you please make a video about deploying Django + Postgresql with Docker to Render. I'm having issue deploying my Django application with GDAL library because it's not supported but there is a solution, Render suggest to use Docker for this. I'm new to Docker.

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

    *Amazing man*

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

    Very Helpful

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

    some message Top-level object must be a mapping . what i do ?

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

      Hi,
      Please double check your project directory and structure. It needs to be precise

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

      @@CloudWithDjango ok 👍

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

    thanks sirr

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

    very helpful. thanks!!

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

      I'm glad that it was helpful, and of course, my pleasure!