Last active
July 24, 2018 05:29
-
-
Save rhysawilliams2010/6324196804eca285560c5e9764bff9a3 to your computer and use it in GitHub Desktop.
docker-compose aliases
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 dcu='docker-compose up' | |
alias dcs='docker-compose stop' | |
alias dcl='docker-compose logs --tail=all app' | |
alias dce='docker-compose exec app' | |
alias dcb='docker-compose exec app /bin/bash' | |
alias dcr='docker-compose run --rm app' | |
alias dcjest='docker-compose exec app yarn jest' | |
alias dcrspec='docker-compose exec app env RAILS_ENV=test bundle exec rspec' | |
alias dctest='docker-compose exec app env RAILS_ENV=test bundle exec rake test' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Save this file to ~/ and add
. ~/.zsh_aliases
to your ~/.zsgrc