|
|
@ -197,7 +197,8 @@ cat <<EOF > /etc/default/compose |
|
|
|
## if not provided, this will be the default service launched. |
|
|
|
export DEFAULT_SERVICES="" |
|
|
|
|
|
|
|
export DEFAULT_PROJECT_NAME=$(hostname | cut -f 2 -d . ) |
|
|
|
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 DATASTORE=\$DOCKER_DATASTORE/data |
|
|
|