Last active
August 27, 2023 15:11
-
-
Save maxcnunes/7b5eae9cb884f126a70f to your computer and use it in GitHub Desktop.
Aliases for docker-compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias c='docker-compose' | |
alias cb='docker-compose build' | |
alias cup='docker-compose up' | |
alias cr='docker-compose run --service-ports --rm' | |
alias crl='docker-compose run --service-ports --rm local' | |
alias crd='docker-compose run --service-ports --rm develop' | |
alias crt='docker-compose run --rm test' | |
alias crp='docker-compose run --rm provision' | |
alias crci='docker-compose run --rm ci' | |
alias crwt='docker-compose run --rm watchtest' | |
alias cps='docker-compose ps' | |
alias clogs='docker-compose logs' | |
crm(){ | |
docker-compose stop $1 | |
docker-compose rm --force $1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment