refactor(drupal): reorganise templates
This commit is contained in:
parent
b7beba70e8
commit
c9faf7bda3
13 changed files with 339 additions and 16 deletions
20
templates/drupal/.env.example.twig
Normal file
20
templates/drupal/.env.example.twig
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# {{ 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 experimental.useNewDatabaseCredentials %}
|
||||
export MYSQL_DATABASE=app
|
||||
export MYSQL_PASSWORD=app
|
||||
export MYSQL_USER=app
|
||||
{% else %}
|
||||
export MYSQL_DATABASE=drupal
|
||||
export MYSQL_PASSWORD=drupal
|
||||
export MYSQL_USER=drupal
|
||||
{% endif %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue