Public | Automated Build

Last pushed: a year ago
Short Description
A MySQL development image configured for Drupal.
Full Description

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
Docker Pull Command
Owner
portlandwebworks
Source Repository