Skip to content

Instantly share code, notes, and snippets.

View wixb50's full-sized avatar
🎯
Focusing

wixb50 wixb50

🎯
Focusing
View GitHub Profile
@wixb50
wixb50 / shipyard-deploy.sh
Created June 27, 2016 07:25
shipyard deploy shell command
#!/bin/bash
if [ "$1" != "" ] && [ "$1" = "-h" ]; then
echo "Shipyard Deploy uses the following environment variables:"
echo " ACTION: this is the action to use (deploy, upgrade, node, remove)"
echo " DISCOVERY: discovery system used by Swarm (only if using 'node' action)"
echo " IMAGE: this overrides the default Shipyard image"
echo " PREFIX: prefix for container names"
echo " SHIPYARD_ARGS: these are passed to the Shipyard controller container as controller args"
echo " TLS_CERT_PATH: path to certs to enable TLS for Shipyard"