In our previous video, we created the Dockerfile. In this tutorial, we look at the docker-compose and how to implement it in this Django project. Let's have a look at it.
Previous video: • Python Django Tutorial - Containerizi...
Django tutorial playlist: • Python Django Tutorial
====================
⭐️ Video Contents⭐️
⌨️ (0:00:00) Introduction
⌨️ (0:02:00) Creating docker-compose.yml file
⌨️ (0:04:00) Docker Postgres image reference
⌨️ (0:04:55) POSTGRES_PASSWORD environment variable
⌨️ (0:15:13) Updating database configuration
⌨️ (0:18:00) Starting docker containers using docker-compose
⌨️ (0:22:07) Check running containers
⌨️ (0:23:04) Analyzing and fixing psycopg2 error
====================
Django Documentation: https://docs.djangoproject.com/
Docker Compose: https://docs.docker.com/compose/getti...
Docker Network: https://docs.docker.com/network/
Docker Volumes: https://docs.docker.com/storage/volumes/
Docker Compose Django example: https://docs.docker.com/samples/django/
Psycopg2 on PyPI: https://pypi.org/project/psycopg2/
This project's Dockerfile: (https://github.com/jkariukidev/my-dem...)
Docker tutorial by @TechWorldwithNana • Docker Tutorial for Beginners [FULL C...
====================
The code used in this series can be found at:
https://github.com/jkaris/my-demo-web...
====================
Reach me through:
My Website - https://josephkariuki.com/
Twitter - / jkariscodes
Instagram - / codekaraoke
#Python #Django #pythonprogramming #docker #github
Смотрите видео Python Django Tutorial - Containerizing Project using Docker (Part 2) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Joseph Kariuki 04 Август 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 22 раз и оно понравилось людям.