passing parameters
This commit is contained in:
parent
56ca814ebb
commit
a38794ebcc
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue