Skip to content

Pre-configured docker-compose drupal 8 stack for local development, based on https://github.com/wodby/docker4drupal

License

Notifications You must be signed in to change notification settings

jordotech/d8-docker

Repository files navigation

This is a modified version of docker4drupal, for full instructions on using the stack go there.
This version will get you up and running locally with less steps.

Clone this repo to your local and perform the following:

  1. add the following to your hosts file (osx: /private/etc/hosts) 127.0.0.1 drupal.docker.localhost
  2. create your settings.php in ./drupal/sites/default with this content
  3. run docker-compose build and then bring the project up with docker-compose up -d. This will build your containers but the site will not be functional yet (missing composer install). Note: this step installs the initial.sql db.
  4. with the containers running, do make composer install, this will ssh into the container, pull down drupal core, etc.

After it's done (composer install takes a long time) go to drupal.docker.localhost:8000 and the site should be running.

The initial user and password are admin/admin

About

Pre-configured docker-compose drupal 8 stack for local development, based on https://github.com/wodby/docker4drupal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published