Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@cjus
Created July 18, 2018 17:07
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/0990fd12eb05f565e79368e86ba419ab to your computer and use it in GitHub Desktop.
Save cjus/0990fd12eb05f565e79368e86ba419ab to your computer and use it in GitHub Desktop.
Sample stackup script
#!/bin/sh
export STACK_NAME='test'
mkdir -p ~/data/${STACK_NAME}/redis
STACK_NAME=${STACK_NAME} docker stack deploy --compose-file sample-stack.yml ${STACK_NAME}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment