#!/bin/bash -ex

export DOCKER_HOST=dkmanager:2376

docker login -u richard -p $DKREGISTRY_PASS $DKREGISTRY

docker stack deploy --with-registry-auth --prune -c docker-compose-prod.yml sslproxy

docker service update -q sslproxy_app
