rename docker-compose aliases

main
Yax 2 years ago
parent cc45115a08
commit 718248d712

@ -5,6 +5,6 @@ if hash docker 2>/dev/null; then
{ {
$DOCKER_COMPOSE_BIN $(find -name 'docker-compose*.yml' -type f -perm -u+x -printf '%p\t%d\n' 2>/dev/null | sort -n -k2 | cut -f 1 | awk '{print "-f "$0}') $@ $DOCKER_COMPOSE_BIN $(find -name 'docker-compose*.yml' -type f -perm -u+x -printf '%p\t%d\n' 2>/dev/null | sort -n -k2 | cut -f 1 | awk '{print "-f "$0}') $@
} }
alias dcup='docker-compose --env-file .env up -d' alias dockup='docker-compose --env-file .env up -d'
alias dcdown='docker-compose --env-file .env down' alias dockdown='docker-compose --env-file .env down'
fi fi

Loading…
Cancel
Save