#!/bin/bash -ex
SCRIPT_PARAMS=${1%/}
BUILD="--build"
if [[ "$SCRIPT_PARAMS" = "--nobuild" ]];then
  BUILD=""
fi

docker-compose down -v
docker-compose up $BUILD --abort-on-container-exit
