update README
This commit is contained in:
parent
be8cb26430
commit
84e93272b0
12
README.md
12
README.md
@ -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 $@; } }
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user