build-configs/templates/env.example.twig
Oliver Davies 5f1c8afa9c fix: include MySQL variables for Drupal
These environment variables are needed for the initial database to be
created for Drupal.
2023-03-03 21:54:15 +00:00

15 lines
302 B
Twig

export DOCKER_UID=1000
{% if dockerCompose %}
export COMPOSE_PROJECT_NAME={{ name }}
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 %}