mirror of
https://github.com/opdavies/build-configs.git
synced 2025-01-23 02:27:33 +00:00
Oliver Davies
5f1c8afa9c
These environment variables are needed for the initial database to be created for Drupal.
15 lines
302 B
Twig
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 %}
|