mirror of
https://github.com/opdavies/build-configs.git
synced 2025-02-09 00:25:01 +00:00
Allow for overriding the project root from `/app` to something else, such as `/var/www/html`. The default is set within a new `build.defaults.yaml` file which the project specific file is merged into. Fixes #27
17 lines
343 B
Twig
17 lines
343 B
Twig
# {{ managedText | raw }}
|
|
|
|
export DOCKER_UID=1000
|
|
|
|
{% if dockerCompose %}
|
|
export COMPOSE_PROJECT_NAME={{ name }}
|
|
export COMPOSE_PROFILES=web,php,database
|
|
|
|
export DOCKER_WEB_VOLUME=.:{{ project_root }}
|
|
{% endif %}
|
|
|
|
{% if "drupal-project" == type %}
|
|
export MYSQL_DATABASE=drupal
|
|
export MYSQL_PASSWORD=drupal
|
|
export MYSQL_USER=drupal
|
|
{% endif %}
|