refactor(drupal): reorganise templates

This commit is contained in:
Oliver Davies 2023-09-24 22:54:30 +01:00
parent b7beba70e8
commit c9faf7bda3
13 changed files with 339 additions and 16 deletions

View file

@ -4,16 +4,11 @@ export DOCKER_UID=1000
{% if dockerCompose %}
export COMPOSE_PROJECT_NAME={{ name }}
{% if "php" == language %}
export COMPOSE_PROFILES=web,php,database
{% elseif "node" == language %}
export COMPOSE_PROFILES=node
{% endif %}
export DOCKER_WEB_VOLUME=.:{{ project_root }}
{% endif %}
{% if "drupal" == type %}
{% if experimental.useNewDatabaseCredentials %}
export MYSQL_DATABASE=app
export MYSQL_PASSWORD=app
@ -23,4 +18,3 @@ export MYSQL_DATABASE=drupal
export MYSQL_PASSWORD=drupal
export MYSQL_USER=drupal
{% endif %}
{% endif %}