Skip to content

brunogoossens/Docker-Drupal8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Development environment for Drupal 8 build with Docker Compose

Dependencies

How to use

Download this repository

$ git clone [email protected]:brunogoossens/dockercompose-drupal8.git Drupal8-Docker
$ cd Drupal8-Docker

Copy drupal code into web/app folder

Start a new terminal (because the other one is running our containers) and copy the Drupal 8 code into the ./web/app folder.

$ git clone --branch 8.4.x http://git.drupal.org/project/drupal.git web/app

Start the docker containers

This command will build the containers and start the web and mysql servers. All logging will be outputted on the screen.

$ docker-compose up -d

install Drupal composer updates

$ docker-compose exec web composer install -o

Install Drupal 8 by using Drupal console

$ docker-compose exec web drupal site:install --db-host=mysql --db-name=drupal8 --db-user=root --db-pass=root

About

Development environment for Drupal 8 build with Docker Compose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published