#! /usr/bin/env bash # # Prelude - make bash behave sanely # http://redsymbol.net/articles/unofficial-bash-strict-mode/ # set -euo pipefail INCLUDE=$(dirname $(readlink -f $0)) . $INCLUDE/setup_tools ensure_command triton ensure_triton_cns_is_enabled write_env_file triton env docker-compose build docker-compose push export DOCKER_HOST=$_DOCKER_HOST export DOCKER_CERT_PATH=$_DOCKER_CERT_PATH export DOCKER_TLS_VERIFY=$_DOCKER_TLS_VERIFY docker-compose pull docker-compose up -d