Unverified Commit 9b8d4806 authored by Mahmoud Zalt's avatar Mahmoud Zalt Committed by GitHub

Merge pull request #1265 from jeff-h/master1

Specifying included docker-compose files in the .env is more flexible
parents 65a8bbc6 73b95357
......@@ -7,6 +7,9 @@
COMPOSE_FILE=docker-compose.yml:docker-compose.dev.yml
# Replace the above with the following line if you wish to use docker-sync.
# COMPOSE_FILE=docker-compose.yml:docker-compose.dev.yml:docker-compose.sync.yml
### Application Path ###################################################################################################
# Point to your code, will be available at `/var/www`.
......
......@@ -59,7 +59,7 @@ if [ "$1" == "up" ] ; then
print_style "Initializing Docker Compose\n" "info"
shift # removing first argument
docker-compose -f docker-compose.yml -f docker-compose.sync.yml up -d ${@}
docker-compose up -d ${@}
elif [ "$1" == "down" ]; then
print_style "Stopping Docker Compose\n" "info"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment