fix: include MySQL variables for Drupal

These environment variables are needed for the initial database to be
created for Drupal.
This commit is contained in:
Oliver Davies 2023-03-03 21:54:14 +00:00
parent a5f5771317
commit 5f1c8afa9c

View file

@ -6,3 +6,9 @@ export COMPOSE_PROFILES=web,php,database
export DOCKER_WEB_VOLUME=.:/app
{% endif %}
{% if "drupal-project" == type %}
export MYSQL_DATABASE=drupal
export MYSQL_PASSWORD=drupal
export MYSQL_USER=drupal
{% endif %}