build-configs/templates/env.example.twig
Oliver Davies 6b5c1b5aee feat: add project_root setting
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
2023-03-10 22:21:14 +00:00

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 %}