Skip to content

Instantly share code, notes, and snippets.

@bmorrisondev
Created March 19, 2020 15:48
Show Gist options
  • Select an option

  • Save bmorrisondev/3c48e99322db52250e6d96b3814d42f2 to your computer and use it in GitHub Desktop.

Select an option

Save bmorrisondev/3c48e99322db52250e6d96b3814d42f2 to your computer and use it in GitHub Desktop.
My docker-compose script I use in my devops pipelines
#!/bin/bash
docker-compose down -v # Takes down the docker containers including named volumes
docker-compose build # Build the image
docker-compose up -d # Start the container
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment