Skip to content

A docker Drupal development image using PHP 7.0 and HTTP/2 on Ubuntu 14.04, inheriting configurations from https://github.com/andrewholgate/docker-drupal-php70

Notifications You must be signed in to change notification settings

pescetti/docker-drupal-php70-dev

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerised Drupal 8 development environment using PHP 7.0 on Ubuntu 14.04 with HTTP/2. This image is the development companion to the docker-drupal-php70 project.

Included Tools

Debugging Tools

  • XDebug - PHP debugging and profiling.

Front-end Tools

PHP Documentation Tools

  • DoxyGen - generate documentation from annotated PHP code. It is used to generate XML which is then interpreted by Sphinx.
  • Sphinx - generate beautiful Read The Docs format using Breathe as a bridge to DoxyGen XML output.

Other

  • NodeJS - Javascript runtime.
  • Java Runtime Environment (JRE) - project dev tools like sitespeed.io need this.

Installation

Create Presistant Database data-only container

# Build database image based off MySQL 5.6
sudo docker run -d --name mysql-drupal-php70-dev mysql:5.6 --entrypoint /bin/echo MySQL data-only container for Drupal Dev MySQL

Build Project using Docker Compose

# Customise docker-compose.yml configurations for environment.
cp docker-compose.yml.dist docker-compose.yml
vim docker-compose.yml

# Build docker containers using Docker Composer.
sudo docker-compose build
sudo docker-compose up -d

Host Access

From the host server, add the web container IP address to the hosts file.

# Add IP address to hosts file.
./hosts.sh

Logging into Web Front-end

# Using the container name of the web frontend.
sudo docker exec -it dockerdrupalphp70dev_drupalphp70devweb_1 su - ubuntu

TODO

  • XHProf - function-level hierarchical profiler.

About

A docker Drupal development image using PHP 7.0 and HTTP/2 on Ubuntu 14.04, inheriting configurations from https://github.com/andrewholgate/docker-drupal-php70

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%