-
-
Save Streek/cf6a6ced384fcdf1f3ef00ab8e9b3830 to your computer and use it in GitHub Desktop.
Start all Prospectify.io docker containers.
This file contains hidden or 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/bash | |
| echo "Operating on PIO containers..." | |
| if [[ $1 == "s" || $1 == "start" ]]; then | |
| echo "--Starting PIO Containers--" | |
| docker start piopgapp | |
| docker start piopgdata | |
| echo "Containers Started..." | |
| fi | |
| if [[ $1 == "e" || $1 == "k" || $1 == "kill" || $1 == "stop" || $1 == "end" ]]; then | |
| echo "--Killing PIO Containers--" | |
| docker stop piopgapp | |
| docker stop piopgdata | |
| echo "Containers Killed..." | |
| fi | |
| echo "...Operation Done." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment