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:
wsq 2019-07-24 13:04:35 +08:00
commit cf109c23b1

View File

@ -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