-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add checker for docker-compose up #256
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rangerz couple minor comments. Love this update. Let me know what you think.
cc788ba
to
2bbb79a
Compare
It rebased to master and merged to one commit |
@rangerz I apologize for not testing and merging this in already, it must have fell by the wayside. I'll test this and try to get it in very soon. |
IS_VALID=false | ||
fi | ||
done | ||
[ $IS_VALID = false ] && echo "Failed to start docker for missing volume files" && exit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of using the IS_VALID
variable, I think we can just move this echo/exit line up to line 36 and remove any references to IS_VALID
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Never mind, just noticed that every file is output to the user first, and then the script should exit. This is wonderful and works great!!
@rangerz thank you so much for this, this solves a lot of problems we've been having with those new to this project not properly having files in place for docker to start, causing the empty folder issue. Added a couple comments on the script. Merging it in! THANKS AGAIN!! |
bin/start
. Avoiding to generate useless empty folder when there is a lack of volume files. ex:./src/composer.json
,./src/composer.lock
, and./src/nginx.conf.sample