A MySQL development image configured for Drupal.
1.7K
A MySQL development image configured for Drupal.
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.project-mysql:
image: portlandwebworks/drupal-mysql-dev
ports:
- "3306:3306"
environment:
- MYSQL_DATABASE=mydb
- MYSQL_ROOT_PASSWORD=rootpassword
docker run -d -p 3306:3306 -e MYSQL_DATABASE=mydb -e MYSQL_ROOT_PASSWORD=password portlandwebworks/drupal-mysql-dev
Content type
Image
Digest
Size
107.3 MB
Last updated
about 10 years ago
docker pull portlandwebworks/drupal-mysql-dev