Skip to content
This repository has been archived by the owner on Dec 1, 2018. It is now read-only.

Latest commit

 

History

History
45 lines (29 loc) · 1.51 KB

settings.md

File metadata and controls

45 lines (29 loc) · 1.51 KB

Overriding default PHP/MySQL/etc. settings

Altering PHP and MySQL configuration

The following configuration files are mounted inside the respective containers and can be used to override the default settings:

  • .drude/etc/php5/php.ini - PHP settings overrides
  • .drude/etc/php5/php-cli.ini - command line PHP settings overrides
  • .drude/etc/mysql/my.cnf - MySQL settings overrides

Copy examples/.drude into the /.drude folder in your project repo and modify as necessary.

Using different PHP versions

Switching PHP versions is done via the blinkreaction/drupal-cli docker image tags.

To switch to a different image tag:

  • open the docker-compose.yml file
  • replace the cli service image property as necessary (see list of available tags below)
  • run dsh up

Available PHP versions:

  • 5.6 (image: blinkreaction/drupal-cli:stable) - default
  • 7.0 (image: blinkreaction/drupal-cli:php7) - experimental

Using different MySQL versions

Switching MySQL versions is done via the blinkreaction/drupal-mysql docker image tags.

To switch to a different image tag:

  • open the docker-compose.yml file
  • replace the db service image property as necessary (see list of available tags below)
  • run dsh up

Available MySQL versions:

  • 5.5 (image: blinkreaction/drupal-mysql:5.5)
  • 5.6 (image: blinkreaction/drupal-mysql:5.6) - default.
  • 5.7 (image: blinkreaction/drupal-mysql:5.7)