refactor(shell): move from docker-compose to docker compose
This has been on the cards to quite a while. I have been getting reminders from work that I need to upgrade. I have also just had an issue on one of my servers that resulted in using old versions and silently failing.
This commit is contained in:
parent
4354948d88
commit
52a96193ad
1 changed files with 5 additions and 5 deletions
|
|
@ -37,11 +37,11 @@ function dkip() {
|
||||||
#
|
#
|
||||||
# Docker Compose
|
# Docker Compose
|
||||||
#
|
#
|
||||||
alias dkc="docker-compose"
|
alias dkc="docker compose"
|
||||||
alias dkcdown="docker-compose down"
|
alias dkcdown="docker compose down"
|
||||||
alias dkcup="docker-compose up -d"
|
alias dkcup="docker compose up -d"
|
||||||
|
|
||||||
function dkcrestart() {
|
function dkcrestart() {
|
||||||
docker-compose stop $1
|
docker compose stop $1
|
||||||
docker-compose up -d $1
|
docker compose up -d $1
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue