Last active
February 19, 2017 23:55
-
-
Save crizstian/5c40004de1a708ad6086ca13eedd90c9 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
eval `docker-machine env manager1` | |
array=('./movies-service' | |
'./cinema-catalog-service' | |
'./booking-service' | |
'./payment-service' | |
'./notification-service' | |
) | |
# we go to the root of the project | |
cd .. | |
for ((i = 0; i < ${#array[@]}; ++i)); do | |
# we go into a specific folder | |
cd ${array[$i]} | |
# we start our docker services | |
sh ./start-service.sh | |
# and we go back to the root again :D | |
cd .. | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment