|
@ -221,8 +221,10 @@ cat <<EOF > /etc/default/compose |
|
|
## if not provided, this will be the default service launched. |
|
|
## if not provided, this will be the default service launched. |
|
|
export DEFAULT_SERVICES="" |
|
|
export DEFAULT_SERVICES="" |
|
|
|
|
|
|
|
|
export DEFAULT_PROJECT_NAME=\$(hostname | cut -f 2 -d . ) |
|
|
|
|
|
DEFAULT_PROJECT_NAME=\${DEFAULT_PROJECT_NAME,,} ## to lowercase |
|
|
|
|
|
|
|
|
## In new compose (running in docker) this is not yet really supported, |
|
|
|
|
|
## and is it wanted ? |
|
|
|
|
|
#export DEFAULT_PROJECT_NAME=$(hostname | cut -f 2 -d . ) |
|
|
|
|
|
#DEFAULT_PROJECT_NAME=\${DEFAULT_PROJECT_NAME,,} ## to lowercase |
|
|
|
|
|
|
|
|
export DOCKER_DATASTORE=\$([ -e /etc/default/datastore ] && . /etc/default/datastore && echo \$DATASTORE) |
|
|
export DOCKER_DATASTORE=\$([ -e /etc/default/datastore ] && . /etc/default/datastore && echo \$DATASTORE) |
|
|
export DATASTORE=\$DOCKER_DATASTORE/data |
|
|
export DATASTORE=\$DOCKER_DATASTORE/data |
|
|