mirror of
https://github.com/opdavies/build-configs.git
synced 2025-09-07 11:55:33 +01:00
parent
a179f1b0ee
commit
b4b289748a
7 changed files with 68 additions and 2 deletions
|
@ -4,7 +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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue