Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# Deploys the storefront Docker stack
# usage: sh ./
set -e
docker stack deploy -c docker-compose-middleware.yml storefront
echo "Starting the stack: middleware...pausing for 30 seconds..."
sleep 30
docker stack deploy -c docker-compose-services.yml storefront
echo "Starting the stack: services...pausing for 10 seconds..."
sleep 10
docker stack ls
docker stack services storefront
docker container ls
echo "Script completed..."
echo "Services may take up to several minutes to start, fully..."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment