use ./docker-compose.yml if it exists for dc
This commit is contained in:
parent
96c161f12d
commit
1ce3567307
@ -271,6 +271,8 @@ function rgm {
|
||||
function dc {
|
||||
if [ -e ./docker-compose-dev.yml ]; then
|
||||
docker_file_path=./docker-compose-dev.yml
|
||||
elif [ -e ./docker-compose.yml ]; then
|
||||
docker_file_path=./docker-compose.yml
|
||||
else
|
||||
docker_file_path=~/Projects/paiyou-hub/docker-compose-dev.yml
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user