Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 967 Bytes

README.md

File metadata and controls

37 lines (24 loc) · 967 Bytes

Use run.sh to fetch Drupal 8.1-dev and start containers.

Use docker-compose stop to stop containers and docker-compose rm to clean-up.

Local db directory stores mysql database files and drupal hold core.

Hints

For use drush directly from host machine you can specify next alias

alias dr="cd /path/to/docker-copmose.yml && docker-compose exec web drush"

How to customize and extend this project

If you want to add some packages you should:

Example of php7-xdebug

  1. Create new container folder with own Dockerfile and extend this container from base one.
```
FROM skilldlabs/php:7
MAINTAINER Andy Postnikov <[email protected]>

RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing \
  php7-xdebug
```
  1. Change build reference in docker-compose.yml file
  web:
    #build: php7/.
    # path to your custom container.
    build: php7-xdebug/.