Skip to content

Instantly share code, notes, and snippets.

@cjus
Created July 20, 2018 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cjus/3bd4353734ef06dd83754fcedfc06dec to your computer and use it in GitHub Desktop.
Save cjus/3bd4353734ef06dd83754fcedfc06dec to your computer and use it in GitHub Desktop.
stackup.sh
#!/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