dk: par défaut, ne pas ajouter le profil au nom de projet
This commit is contained in:
parent
aa4eb4a481
commit
c44d1d31f7
2
dk
2
dk
|
@ -212,7 +212,7 @@ function docker_check_name() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function compose_set_project_name() {
|
function compose_set_project_name() {
|
||||||
local PROJECT_NAME= PROJECT_NAME_REMOVE_SUFFIX=.service PROJECT_NAME_ADD_PROFILE=1
|
local PROJECT_NAME= PROJECT_NAME_REMOVE_SUFFIX=.service PROJECT_NAME_ADD_PROFILE=
|
||||||
[ -f .compose.env ] && source ./.compose.env
|
[ -f .compose.env ] && source ./.compose.env
|
||||||
|
|
||||||
[ -n "$PROJECT_NAME" ] || PROJECT_NAME="$(basename -- "$(pwd)")"
|
[ -n "$PROJECT_NAME" ] || PROJECT_NAME="$(basename -- "$(pwd)")"
|
||||||
|
|
Loading…
Reference in New Issue