Merge branch 'master' of github.com:rallets-network/dotfiles
* 'master' of github.com:rallets-network/dotfiles: use ./docker-compose.yml if it exists for dc
This commit is contained in:
commit
cf109c23b1
@ -297,6 +297,8 @@ function rgm {
|
|||||||
function dc {
|
function dc {
|
||||||
if [ -e ./docker-compose-dev.yml ]; then
|
if [ -e ./docker-compose-dev.yml ]; then
|
||||||
docker_file_path=./docker-compose-dev.yml
|
docker_file_path=./docker-compose-dev.yml
|
||||||
|
elif [ -e ./docker-compose.yml ]; then
|
||||||
|
docker_file_path=./docker-compose.yml
|
||||||
else
|
else
|
||||||
docker_file_path=~/Projects/paiyou-hub/docker-compose-dev.yml
|
docker_file_path=~/Projects/paiyou-hub/docker-compose-dev.yml
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user