Skip to content

Commit

Permalink
Wait up to 1 minute for Redis during startup.
Browse files Browse the repository at this point in the history
This should prevent unnecessary container churn when Redis is not ready.
  • Loading branch information
mrmachine authored May 9, 2018
1 parent a77a71c commit 9148010
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ixc_django_docker/bin/setup-django.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ cat <<EOF
#
EOF

dockerize -timeout 1m -wait "tcp://$REDIS_ADDRESS"

# Install Node modules.
waitlock.py -b "npm-install.sh '$PROJECT_DIR'"

Expand Down

0 comments on commit 9148010

Please sign in to comment.