Installing Drupal Locally using Docker Pt 2 - setup the containers
You can ask me for help with your Drupal site using my Fiverr gig here https://bit.ly/3yBWLWC
Please support the channel by using my eBay search website https://shopoftheworld.com its a Drupal site that is powered by eBay APIs and offers faster searching and filtering, its quite fun. Thanks
In this video we set up the containers for MySQL, PHPMYADMIN & Drupal Web.
MySQL container needs to be setup first so that the other containers are able to connect to it.
This command will setup the container for mysql using a container name of mysqldb the user name is root and the password is drupal - these can be changed but will be needed in later commands if you want to change these.
docker run -d --name mysqldb -e MYSQL_ROOT_PASSWORD=drupal mysql:latest
PhpMyadmin container
To set up PhpMyadmin (a web based DB management tool not 100% required but very useful) the container is named phpmyadmin and connects to the MySql container named above
docker run --name phpmyadmin -d --link mysqldb:db -p 8081:80 phpmyadmin/phpmyadmin
Web container
Before creating the Web container we must setup a local drive in windows that is shared with the web container - this is mapped to the /modules and /themes directories within drupal codebase as this is the only place that custom code will be created, for installation of contributed modules we use composer within the web container.
* You will need to amend the paths in this statement to match your local environment - the /opt/drupal/web/modules directory will exist already within the container - in the next video I will show you how to access those containers via the command line.
docker run -d --name easydrupal --link mysqldb -p 8090:80 -e MYSQL_USER:root -e MYSQL_PASSWORD:drupal -it --volume //c/web/easy_drupal/modules:/opt/drupal/web/modules --volume //c/web/easy_drupal/themes:/opt/drupal/web/themes drupal:latest
I am a UK based Drupal consultant with 10+ years experience of Drupal 7, 8 and 9 configuration, development and environment architecture.
Available for contract or maintenance work drop me a message below if interested or use my Fiverr gig to send a request for help https://www.fiverr.com/share/L9EdW4
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Installing Drupal Locally using Docker Pt 2 - setup the containers», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.