Ensure web service is available to celery service

This commit is contained in:
Lacey Williams Henschel
2023-06-01 15:16:21 -07:00
parent 41b40cd1f3
commit 7c63ba59e4

6
wait-for-it.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
# Wait for the other container to be ready
while ! nc -z web 8000; do
sleep 1
done