passing parameters

This commit is contained in:
Arian Acosta 2017-07-15 09:53:56 -04:00
parent 56ca814ebb
commit a38794ebcc
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ if [ "$1" == "up" ] ; then
echo "Initializing Docker Sync";
docker-sync start;
echo "Initializing Docker Compose";
docker-compose -f docker-compose.yml -f docker-compose.sync.yml up -d nginx mysql;
docker-compose -f docker-compose.yml -f docker-compose.sync.yml $@;
elif [ "$1" == "down" ]; then
echo "Stopping Docker Compose";
docker-compose down;