This will deploy a componentized Shipyard stack on your Docker host. It will pull, launch, and link the various services together so you have an entire Shipyard stack.
You must bind the Docker socket into the container in order for the deploy container to work with the Docker host.
There are a few environment variables to allow you to customize the stack:
DB_PASS
: set the Shipyard Database instance user passwordADMIN_PASS
: set the Shipyard admin account password (default: shipyard)TAG
: The tag to use for the Shipyard instance (default: latest)DB_HOST_VOLUME
: (optional) Specify a host directory to map the Shipyard DB volumeDEBUG
: (optional) Enable debug in Shipyard (default: false)
docker run -i -t -v /var/run/docker.sock:/docker.sock shipyard/deploy setup
docker run -i -t -v /var/run/docker.sock:/docker.sock shipyard/deploy cleanup
sudo docker build -t shipyard/deploy .
sudo docker run -i -t -v pwd
/../docker-tars:/archives -v /var/run/docker.sock:/docker.sock --name shiypard_deploy shipyard/deploy setup