Created
July 20, 2018 14:04
-
-
Save cjus/3bd4353734ef06dd83754fcedfc06dec to your computer and use it in GitHub Desktop.
stackup.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
export STACK_NAME='test' | |
mkdir -p ~/data/${STACK_NAME}/redis | |
echo "\nStarting core services" | |
sudo STACK_NAME=${STACK_NAME} docker stack deploy --compose-file compose.yml ${STACK_NAME} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment