update README

This commit is contained in:
Andy 2016-05-20 11:24:12 +02:00
parent be8cb26430
commit 84e93272b0
Signed by: arno
GPG Key ID: 368DDA2E9A471EAC

View File

@ -15,3 +15,15 @@ cd hipchat
docker-compose run -d docker-compose run -d
``` ```
### Useful alias
Place the following to your ~/.bash_aliases
After that you can issue `hipchat` command
```
alias docker="sudo -E docker"
alias docker-compose="sudo -E docker-compose"
function docker_helper() { { pushd ~/docker/$1; docker-compose rm -fa "$1"; docker-compose run -d --name "$1" "$@"; popd; } }
function hipchat() { { docker_helper $FUNCNAME $@; } }
```