Sign inSign up

portlandwebworks/drupal-mysql-dev

By portlandwebworks

•Updated about 10 years ago

A MySQL development image configured for Drupal.

Image
1

1.7K

portlandwebworks/drupal-mysql-dev repository overview

⁠Drupal MySQL Dev

⁠Overview

A MySQL development image configured for Drupal.

⁠Usage

Spin up container with the needed environment variables:

  • MYSQL_ROOT_PASSWORD - Value for the root user password.
  • MYSQL_ALLOW_EMPTY_PASSWORD - Set to yes to disable password for root.
  • MYSQL_DATABASE - Value for the name of the auto-created database.
  • MYSQL_USER - Value for the non-root user.
  • MYSQL_PASSWORD - Value for the non-root user password.

⁠Compose

project-mysql:
  image: portlandwebworks/drupal-mysql-dev
  ports:
    - "3306:3306"
  environment:
    - MYSQL_DATABASE=mydb
    - MYSQL_ROOT_PASSWORD=rootpassword

⁠Run

docker run -d -p 3306:3306 -e MYSQL_DATABASE=mydb -e MYSQL_ROOT_PASSWORD=password portlandwebworks/drupal-mysql-dev

Tag summary

Content type

Image

Digest

Size

107.3 MB

Last updated

about 10 years ago

docker pull portlandwebworks/drupal-mysql-dev