passing only the second argument and onward
This commit is contained in:
parent
988bbf7bde
commit
855e2a47b5
@ -11,7 +11,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 $@;
|
||||
docker-compose -f docker-compose.yml -f docker-compose.sync.yml up -d ${@:2};
|
||||
elif [ "$1" == "down" ]; then
|
||||
echo "Stopping Docker Compose";
|
||||
docker-compose down;
|
||||
|
Loading…
Reference in New Issue
Block a user