hipchat/README.md
2018-07-04 10:53:07 +02:00

851 B

Running HipChat4 in Docker

# curl -L https://github.com/docker/compose/releases/download/1.7.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
# chmod +x /usr/local/bin/docker-compose
git clone https://github.com/arno01/hipchat.git
cd hipchat
mkdir data
docker-compose run -d

Useful alias

Place the following to your ~/.bash_aliases
After that you can issue hipchat command

function docker_helper() {
  pushd ~/git/github/$1
  docker-compose rm -f "$1"
  docker-compose run -u $(id -u):$(id -g) -d --name "$1" "$@"
  popd
}

function hipchat() {
  docker_helper "$FUNCNAME" "$@"
}