-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
748 additions
and
742 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
define wait_for_container | ||
@while ! docker-compose logs web | grep "Web server started"; do\ | ||
echo "Serving Spectral";\ | ||
sleep 10;\ | ||
done; | ||
endef | ||
|
||
redeploy-container: | ||
docker-compose up --force-recreate -d | ||
# docker-compose down --volumes | ||
docker-compose up --build -d | ||
# $(call wait_for_container) | ||
sleep 30 | ||
docker-compose logs |
Oops, something went wrong.