Dockerized Drupal

Presenters: [email protected]

Outline

Developers have used MAMP or LAMP stacks to develop Drupal applications. In this session, I would like to present how docker can be used to fasten the development phase of any Drupal solutions.

Abstract

Docker is one of the best container platforms in the world. This session would explain how docker can be leveraged to develop drupal solutions.

There are many benefits to using docker over installing drupal directly on your local machine (as MAMP does for example):

I would like to present how entire infrastructure of Drupal can be dockerized. This helped our project in the development phase where the entire Drupal is installed within a docker container. We also dockerized the database (postgres) and linked with drupal running inside a docker container.

These are the advantages :

  • Drupal is running on the same OS (CENTOS) inside the docker as it would run on production server.
  • Each developer can have their entire Drupal + DB in their own workstations. There is no network delay and hence faster development.
  • Developer need not worry about their changes (creating view , themes, adding modules) etc is not breaking the deployment since the database also running inside each workstation.
  • In short, we are not afraid to try out new things without impeding others work.  This was a game changer.

I would also present the challenges we had and how we overcame the same.

 

Key takeaways

  • Brief introduction to docker
  • Sample scripts to set up for new and existing Drupal projects in docker container

 

 

 

 

 

 

Audience
Experience Level
Intermediate
Schedule Info
Conference Year
2018
Status
Proposed
Session Track
Coding and Development